Stratal CAD

Clipping and editing references in place

Help centre · Drawing and editing

XCLIP shows only part of a block or external reference, and REFEDIT lets you edit a reference's objects where they are in the drawing. Both are for working with large blocks and referenced drawings.

Before you start

Steps: clip a reference

  1. Click Insert > Block > XCLIP (alias XC) and select block or xref references, then press Enter.
  2. At "Enter clipping option [ON/OFF/Delete/generate Polyline/New boundary] <New>" press Enter.
  3. At the boundary prompt choose Rectangular (two corners, the default), Polygonal (points; Undo; Enter ends) or Select polyline (a closed polyline; arcs are followed in short chords). Choose Invert clip first to keep what lies outside the boundary instead.

The boundary belongs to the reference: it moves, turns and scales with it and also clips references nested in its block. What it leaves out is not shown, plotted, picked or snapped to. Lines and curves are cut where they cross it; text, hatches, images and dimensions are kept or left out whole by their centre.

Clip options

Option What it does
OFF Shows the whole reference again but keeps the boundary.
ON Applies the boundary again.
Delete Removes the boundary.
generate Polyline Draws the boundary as a closed polyline.

Each run is one undo step. DXF export and import keep the boundary with its on/off state. An inverted clip reads back inverted in Stratal CAD; programs without inverted clips see an ordinary clip, and the export report says so.

Steps: edit a reference in place

  1. Click REFEDIT and pick a block or xref reference (or select one first).
  2. At "Objects to edit [All/Nested objects] <All>" press Enter for every object of the block, or choose Nested objects and pick the ones you need (Enter when done).
  3. The objects come into the drawing as the working set, and the reference itself is hidden (with Nested objects it goes on showing the others). Edit them with any command; objects you draw join the working set.
  4. Use REFSET Add to bring other objects into the working set (they move into the block), or Remove to take objects out (they stay in the drawing).
  5. Run REFCLOSE and choose Save (every reference shows the change; objects you did not touch keep their exact definition) or Discard.

For an xref of a .stcad drawing, Save writes the change into that file and reloads it. For an xref of a DXF file, REFCLOSE asks first, because Save rewrites the whole file through Stratal CAD's DXF writer and anything it does not read is lost; No keeps the edit open. Each step is one undo step and an edit in progress is saved with the drawing. Writing an xref's file is not undone by UNDO.

Tips and common mistakes

Troubleshooting

Message or symptom What it means and what to do
"No block or xref references selected." Select references, not other objects.
"A polygonal boundary needs at least 3 points." Give three or more points.
"That is not a closed polyline." Close the polyline first (PEDIT Close) or pick another.
"A reference is already being edited in place: finish with REFCLOSE." Save or discard the current edit first.
"Cannot edit it in place: ... is a dynamic block reference with its own parameter values ..." Use the block editor for parametric blocks.
"Cannot edit it in place: block ... is anonymous ..." / "... belongs to external reference ..." / "... is not loaded ..." These cannot be edited in place; edit the source drawing, or reload the xref first.

REFEDIT also refuses a reference scaled differently in X and Y.

Related

Related

Still stuck? Open a support ticket or use Help, then Contact support in Stratal CAD.