Set Entity Properties
entity_set_propertiesUpdate an AutoCAD entity's properties (layer, color, linetype, lineweight, visibility) by providing its handle and new values.
Instructions
Change one or more properties of an entity (layer, color, linetype, lineweight, visibility).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | New ACI color (256=ByLayer, 0=ByBlock, 1-255=specific) | |
| layer | No | New layer name | |
| handle | Yes | Entity handle | |
| visible | No | Set entity visibility | |
| linetype | No | New linetype name (e.g. 'DASHED', 'CENTER', 'ByLayer') | |
| lineweight | No | Lineweight in 0.01mm units (-3=ByLayer, -2=ByBlock) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||