DELETE SHAPE: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
MikeO (talk | contribs)
No edit summary
CatoH (talk | contribs)
No edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Geometry:Editing_Geometry|{{Up}}]]
{{Command|syntax=DELETE_SHAPE <shape ref>
{{Command|syntax=DELETE_SHAPE <shape ref>
|description=Delete a shape created by a macro.
|description=:Delete a shape created by a macro.


|param1=<geo ref>|param1_desc={{shape ref}}
|param1=<shape ref>|param1_desc={{shape ref}}
}}
}}


===Example===
===Example===
:DELETE_SHAPE MyShapRef
<pre>
DELETE_SHAPE MyShapRef
</pre>
 
Note: A selected shape must be deselected before DELETE_SHAPE
 
:For an example macro see [[Bag_Solids]] [[Solids]] [[Solid_Type]]
:For an example macro see [[Bag_Solids]] [[Solids]] [[Solid_Type]]
[[Category:Geometry]]
[[Category:Geometry]]

Latest revision as of 10:54, 13 April 2025

Up

Command

DELETE_SHAPE <shape ref>


Delete a shape created by a macro.

Parameters

<shape ref>
A shape reference number. This will be the value set in the variable ContourRef when you use the CONTOUR command to create a shape.

Example

DELETE_SHAPE MyShapRef

Note: A selected shape must be deselected before DELETE_SHAPE

For an example macro see Bag_Solids Solids Solid_Type