SkyCiv文档

您的SkyCiv软件指南 - 教程, 使用指南和技术文章

云CAD

  1. 云CAD
  2. 特征
  3. Blocks

Blocks

Blocks

Blocks are reusable drawing componentsa named collection of geometry that can be placed on the canvas multiple times as lightweight instances. Editing the block definition automatically updates all placed instances.

使用 Block Reference 控制板 (right-side accordion) to create, insert, 编辑, and manage blocks.

Concepts

Block DefinitionThe template that stores the geometry and a named base point (起源). Changing the definition updates every instance placed on the canvas.

Block InstanceA lightweight reference to a block definition placed at a specific position, with an independent scale and rotation. Instances share the same geometry datathey do not duplicate it.

基点The local origin of the block. When you place an instance, the base point aligns to your clicked position on the canvas.

Block Reference Panel

Block Reference accordion on the right-hand sidebar contains all block controls. Click the accordion header to expand it. The header shows a count of defined blocks in parentheses.

Panel Controls

控制 描述
Block Name Text field for naming a new block definition. Duplicate names are auto-incremented (Block, Block1, Block2…).
基点 X,Y coordinate field for the block origin. Type coordinates (例如. 100, 50) 或使用 to click a point on the canvas.
Activates a crosshair cursor. Click anywhere on the canvas to set the base point coordinates.
创造 / 加 Shows 创造 when geometry is selected (creates a new block). Shows when a block is selected in the list (places a new instance).
Select All Instances Selects every canvas instance of the currently highlighted block definition.
编辑 Enters edit mode for a single selected block instance. Only available when exactly one instance is selected.
Update Saves changes made during edit mode back to the block definition, updating all instances.
取消 Discards all changes made during edit mode and restores the original block definition.
爆炸 Converts selected block instances back into individual canvas objects at their world positions.
消除 Deletes the selected block definition (and all its instances) or removes selected instances from the canvas.

The block list below the controls shows all defined blocks with their instance count (例如. Column Detail | 4 instances). Click a row to select that block definition.

Create a Block

Create Block Reference

Convert selected geometry into a named, reusable block

Shortcut
Right-click → Create Block Reference

Select any geometry on the canvas, then use the Block Reference panel or the right-click context menu to convert the selection into a reusable block. The original geometry is removed from the canvas and replaced with a block instance at the same location.

截屏

[__插入图像__]

一步一步

  1. 1Select the geometry you want to group into a block (线, 弧线, 文本, 方面, hatches, 等等).
  2. 2打开 Block Reference accordion and type a name in the Block Name 领域.
  3. 3设置 基点: type X,Y coordinates directly, 或点击 and click a point on the canvas (例如. the corner or midpoint of the geometry).
  4. 4请点击 创造. The block definition is added to the list and one instance is placed on the canvas.
💡

提示: You can also right-click any selection and choose Create Block Referenceit uses the same flow and auto-populates a default name if the Block Name field is empty.

Insert Block Instances

Place Block Instance

Place one or more copies of a block onto the canvas

Once a block is defined, you can place as many instances as needed. Each instance is independentit has its own position, 回转, and scalebut shares the same underlying geometry with all other instances of that block.

截屏

[__插入图像__]

一步一步

  1. 1In the Block Reference panel, click the block name in the list to select it.
  2. 2请点击 . The cursor enters placement mode.
  3. 3Click on the canvas to place an instance. The block’s base point aligns to the clicked position.
  4. 4Continue clicking to place more instances. 按 Esc键 或点击 again to exit placement mode.
💡

提示: Active snap settings apply during placementuse endpoint, midpoint, or grid snaps to position instances precisely relative to other geometry.

Edit a Block

Edit Block

Modify block geometrychanges propagate to all instances automatically

Context menu
Right-click → Edit Block

Block edit mode lets you modify the geometry inside a block definition. While in edit mode, the block’s contents are displayed as editable canvas objects. Any geometry tools (线, 弧, 文本, 方面, 等等) can be used to add or modify the block’s content. Saving the changes updates every instance of that block on the canvas.

截屏

[__插入图像__]

Entering edit mode

  1. 1Click a single block instance on the canvas to select it.
  2. 2请点击 编辑 in the Block Reference panel, or right-click and choose Edit Block.
  3. 3The block’s geometry appears as editable items. A bounding highlight shows the block boundary.
  4. 4Draw new geometry or modify existing items inside the block. You can also update the base point using .
  5. 5请点击 Update to save and exit edit modeall instances reflect the changes immediately. 请点击 取消 to discard changes and exit.

Update vs Cancel: Update saves the new geometry to the block definition and refreshes all instances. 取消 restores the original definitionany geometry drawn during edit mode is discarded.

⚠️

注意: Undo and Redo are disabled while in block edit mode. Exit edit mode first (通过 Update 要么 取消) before using Undo/Redo.

Explode a Block

Explode Block

Convert block instances back into individual editable objects

爆炸 converts one or more selected block instances into their constituent geometry. The geometry is placed at the correct world-space position (factoring in the instance’s position, 回转, and scale). The block definition remains in the libraryonly the selected instances are affected.

截屏

[__插入图像__]

一步一步

  1. 1Select one or more block instances on the canvas.
  2. 2请点击 爆炸 in the Block Reference panel.
  3. 3The instances are replaced by individual geometry objects. All object properties (layers, colors) are preserved.
⚠️

注意: Exploding is destructivethe instance link to the block definition is broken. If you later edit the block definition, exploded geometry will not be updated. Use Undo if you exploded accidentally.

Block Instance Properties

Block Instance Properties

Adjust per-instance scale independently of the block definition

Context menu
Right-click → Properties

Each block instance has a configurable 规模 property that is independent of the block definition and other instances. Open the properties dialog by right-clicking a selected instance and choosing 物产.

物产

财产 描述 默认
规模 Uniform scale factor for this instance. 1.0 = 100%, 2.0 = 200%, 0.5 = 50%. 1.0

Dialog buttons

  • UpdateApplies the new scale and closes the dialog.
  • Applies the new scale and keeps the dialog open for further edits.
  • 取消Closes the dialog without applying changes.
💡

提示:通过去 inside the properties dialog to apply and close, 要么 Esc键 to cancelno need to reach for the mouse.

捷径

Block commands do not have a default keyboard shortcut assigned, 但是 Add Selected as Block action is available in the shortcut customization panel (Help → Shortcuts tab) and can be bound to any key combination.

行动 默认快捷方式 笔记
Add Selected as Block None (customizable) Creates a block from the current selection. Disabled if no geometry is selected or block instances are selected.
Create Block Reference Right-click menu Available in the right-click context menu when geometry (not instances) 被选中.
Edit Block Right-click menu Available in the right-click context menu when exactly one block instance is selected.
Exit placement mode / Edit mode Esc键 Cancels block instance placement without saving.

Supported Content

The following object types can be included inside a block definition:

✔ Lines
✔ Arcs
✔ Circles
✔ Points
✔ Polylines
✔ Text labels
✔ Leader Text
✔ Multi-Leader Text
✔ Dimensions (线性的, projected, 角度, radius)
✔ Hatches
✔ Revision Clouds
✔ Gridlines / 轴

Not supported inside blocks: 图片, construction lines, tables, and nested block instances (blocks within blocks).

尖端 & 笔记

💡

One edit, many instances: Edit the block definition once and every instance on the canvas is updated automaticallyno need to manually revise each copy.

💡

Unique names: Block names must be unique. If you enter a name that already exists, a numeric suffix is added automatically (Block, Block1, Block2…).

💡

Base point matters: The base point is the “处理” used for placement. Set it to a meaningful location – 例如. the bottom-left corner of a detail, or the centre of a bolt patternto make insertion snapping predictable.

💡

Select All Instances: 使用 Select All Instances button to select every instance of a block at oncehandy for bulk moves, layer changes, or exploding all copies together.

💡

Filter selection: 在里面 过滤器选择 对话, enable or disable the Blocks checkbox to control whether block instances are selectable during box or click selection.

💡

Saved in the file: Block definitions and instances are saved with the canvas JSON. When you share or reload a file, all blocks and their instances are fully restored.

本文对您有帮助吗??
是的 没有

我们能帮你什么吗?

回到顶部