References

References

An object reference links an attribute of one object to another object, so the attribute follows changes to its source.

References act as virtual styles. They behave like regular styles, but their values come from a source object rather than a separate style definition.

Name an object and assign one or more style roles through Object - Object Options or the Layers panel to make its attributes reusable.

The object’s name becomes the style name. Its role determines which attribute supplies the style. The named object then appears in lists for that style type.

Selecting Roles

An object can have several roles. For example, assign Color Style and Shape to make its fill and shape available as separate styles under the same object name.

Select the source object, then assign roles in any of these places:

  • In Object - Object Options, click Role and toggle the roles you need.
  • Use Object - Object Role to toggle roles for the selected object.
  • Choose roles from Object Role in the Appearance panel menu.
  • Use Object Role in the Layers panel menu to change roles for objects selected in that panel.
  • If an object has several roles, the Styles panel appends the role to its name so you can distinguish its styles.

Assign Symbol to use the whole object as a linked symbol. Editing the source updates every instance.

To match the styling of another group with a similar hierarchy, use Group Style together with Object Style. Each member takes its style from the corresponding member of the source group.

Reference Canvases

Objects with style roles can be on any canvas or layer. Their named attributes appear in the relevant style lists.

Keep source objects on a separate canvas so they do not clutter the artwork. The design can then use their styles and symbols through references.

A document can contain a hierarchy of canvases. Return to the main design with Canvas - Show Canvas - Artwork Canvas. Use Reference canvases for supporting content such as symbols, style source objects, arrow shapes, pattern tiles, and brush artwork.

Use one or more Reference canvases to organize source objects by purpose. Assign roles to individual objects or use Canvas Role to apply them across a canvas.

A canvas role applies to all objects on that canvas. To add another style source, create an object there and give it a name. It appears in the style lists for the inherited roles.

The Canvas Options view

To select the canvas role for a reference canvas, use the following steps:

  • Activate the reference canvas in Canvas & Artboard.
  • Choose Canvas Options from Canvas.
  • In the Canvas section, click Canvas Role and choose the roles.
  • Confirm the settings. Objects on that canvas now provide the selected style or symbol types.
  • An object can have additional roles of its own, but cannot disable a role inherited from its canvas.

Several style types use whole objects as their content. Reference canvases keep these sources together and easy to edit.

Use Canvas & Artboard to switch to a reference canvas, edit its objects, then return to the artwork to check the result.

For a live comparison, choose New View from the View menu. Show the reference canvas in one view and the artwork in the other. Changes to source objects appear in their uses on the artwork canvas.

Examples of roles that use whole objects include:

  • Symbol - Reuse the object on a canvas or inside text.
  • Object Style - Share attributes such as fill, stroke, transparency, and image effects.
  • Transparency Content - Use the object as a transparency mask, available by name in Transparency.
  • Tiling Pattern Content - Use the object as a pattern tile.
  • Clone Source Object - Use the object as the source for clones.

Edit these sources on the reference canvas while viewing the results in the artwork view.

Object Roles

Edit source objects to update their virtual styles and symbols. Assign roles with Role in Object Options or through Object - Object Role. The available roles are:

  • Symbol - Use the whole object as a symbol source.
  • Object Style - Use the object’s styling attributes as a shared style.
  • Group Style - Match group members’ styling to the corresponding source members.
  • Transparency Content - Use the object as editable transparency-mask content.
  • Tiling Pattern Content - Use the object as pattern content, selectable in Content in the Pattern panel.
  • Clone Source Object - List the object in Clone Source Object selectors so it can be used as a clone source.
  • Shape - Share the object’s shape. Editing the source updates every use.
  • Corner Shape - Use the object’s shape for corners. Editing it updates corners using the style.
  • Linear Gradient Shape - Use an open shape as a linear-gradient shape. Source edits update linked gradients.
  • Concentric Gradient Shape - Use a closed shape as a concentric-gradient shape. Source edits update linked gradients.
  • Conical Gradient Shape - Use an open shape as a conical-gradient shape. Source edits update linked gradients.
  • Blend Shape - Use the shape as an object-blend trajectory, selectable in Blend.
  • Contour Shape - Use the shape to position an object contour.
  • Transparency Mask Style - Share the object’s transparency settings.
  • Fill or Mask Region - Use the object’s shape or content as a fill or mask region. See Object Styling.
  • Mask for Effect - Use the object’s transparency settings as an image-effect mask to control effect strength or parameters.
  • Image for Effect - Convert the object to an image for displacement or other image and shape effects.
  • Effect Mask Area - Use the object’s shape or content as an image-effect mask region.
  • Inline Shape - Use the object’s shape as a glyph, available through Inline Shapes in Glyph.
  • Inline Object - Use the object as a symbol inserted into text through Inline Objects in Glyph.
  • Plain Text - Use the object’s text as an unformatted text component, inserted through Styles.
  • Styled Text - Use the object’s text as a formatted text component, inserted through Styles. Formatted and plain text components act as variables in text; editing the style updates them.
  • Shape Effect - Share the object’s shape effects as one style.
  • Image Effect - Share the object’s image effects as one style.
  • Corner Style - Share the shape’s corner settings.
  • Color Style - Share the fill color.
  • Pattern Style - Share the pattern fill.
  • Gradient Style - Share the gradient fill.
  • Gradient Shape - Share the shape of the gradient fill.
  • Gradient Color - Share the colors of the gradient fill.
  • Noise Style - Share noise settings for fills or parameters in shape and image effects.
  • Noise Fill Style - Share the noise fill with other objects.
  • Fill Style - Share a color, pattern, gradient, or noise fill.
  • Fill Content - Share the fill style and its transparency settings.
  • Stroke Content - Share stroke attributes, the stroke style, and its transparency settings.
  • Artistic Brush Content - Use the object as brush content, available in the Artistic Brush dialog.
  • Pattern Brush Content - Use the object as brush content, available in the Pattern Brush dialog.
  • Scatter Brush Content - Use the object as brush content, available in the Scatter Brush dialog.
  • Brush Style - Share all brush settings, including width, profile, and content.
  • Brush Type - Share the brush content (artistic, pattern, scatter, or bristle) without its width or profile.
  • Pattern Frame - Use an object inside pattern content to define the tile’s reference size. See Tiling Patterns.
  • Stroke Cap Style - Use the shape as a stroke cap, listed by name and preview in Stroke.
  • Stroke Arrow Style - Use the shape as a stroke arrow, listed by name and preview in Stroke.
  • Stroke Dash Style - Share stroke dash settings.
  • Stroke Stripe Style - Share stroke stripe settings.
  • Stroke Profile Style - Share the stroke’s variable width profile.
  • Stroke Style - Share stroke settings.
  • Character Style - Share the object’s primary character formatting.
  • Paragraph Style - Share the object’s primary paragraph formatting.
  • Character Line - Share the object’s primary character-line settings.
  • Paragraph Line - Share the object’s primary paragraph-line settings.
  • Font Name - Share the object’s primary font name.
  • Text Background - Share the object’s primary text-background settings.
  • Text Frame Style - Share text-frame settings.
  • Text on Path Style - Share text-on-path settings.
  • Text Wrap Style - Share text-wrap settings.
  • 9-Slice Scale - Share 9-slice scaling settings.
  • Snapping Target - Designate the object as a target for restricted snapping. This role does not define a style.
  • Blend Path - Provide a path for a blend object.
  • Contour Center Path - Provide a path for a contour object.
  • Repeater Style - Share a repeater’s options.
  • Repeater Geometry - Share repeater geometry options.
  • Repeater Colorizer - Share repeater colorizer options.
  • Repeater Position - Share repeater positioning options.
  • Repeater Selection - Share repeater object-selection options.
  • Edge Extractor - Share edge-extraction settings for the manual image-tracing tool.
  • Data Grid Place - Designate a layer for placing repeated canvas-grid content from a data source.
  • Data Grid Source - Use a layer or object as the source content for a data grid.
  • Reference Folder - Use a layer as a folder in the style hierarchy generated from objects with roles.
  • Skip Style Listing - Exclude the object from the styles listed on a reference canvas.

Example 1: Color styles from an object

To share an object’s fill color as a style:

  • Create an object and give it a fill color.
  • Choose Object Options from Object.
  • Name the object, click Role, and enable Color Style.
  • Click Ok.
  • The named color appears in Styles. Edit or remove its definition through the source object, not the panel’s style editors.
  • Select another object and apply the color style from Styles.
  • Change the source object’s fill color to update every object using the reference.

Example 2: Using the shape of an object

To share an object’s shape:

  • Create a polygon or another shape and adjust it as needed.
  • Choose Object Options from Object.
  • Name the object, click Role, and enable Shape.
  • Click Ok.
  • The named shape appears in Styles. Edit or remove its definition through the source object, not the panel’s style editors.
  • Select other objects and apply the shape style from Styles.
  • Edit the source shape with the usual tools. Every object using its reference updates.

Example 3: Defining symbols using object referencing

To create a symbol from a source object:

  • Create the source object.
  • Choose Object Options from Object.
  • Name it, click Role, and enable Symbol.
  • Click Ok.
  • The named symbol appears in Symbols. Manage its definition through the source object, not the panel’s symbol editors.
  • Place instances from Symbols onto the canvas.
  • Edit the source to update all instances.

Benefits of Using References

Object roles make artwork available as styles or symbols without creating separate stored definitions. Edit the source object to update the shared result.

Some of the benefits of using references are:

  • References behave like styles and update their uses automatically.
  • Edit the source directly with the usual drawing tools, often more easily than through a style dialog.
  • For example, reshape a source with the shape tools to update every linked shape.
  • Organize sources on reference canvases.
  • Assign roles to a canvas so its objects inherit them.
  • On a canvas with the Symbol role, create and name an object to make a new symbol.
  • Use canvas activation choices to switch between sources. See Style Activation.