SOLID SUBTRACT: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
Mikeo (talk | contribs)
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[:Solids:Editing_Solids|{{Up}}]]
{{Command|syntax=[[Image:solid_subtract.png|right|SOLID_SUBTRACT]]SOLID_SUBTRACT <solid 1>, <solid 2>
{{Command|syntax=[[Image:solid_subtract.png|right|SOLID_SUBTRACT]]SOLID_SUBTRACT <solid 1>, <solid 2>
|description=:Subtract solid 2 from solid 1.
|description=:Create a solid that is the result of subtracting one solid from another.
 
|param1=<solid 1>|param1_desc=main solid
|param2=<solid 2>|param2_desc=subtract this solid from the main solid.


|param1=<solid 1>|param1_desc=First solid number
|param2=<solid 2>|param2_desc=Second solid number


}}
}}
Line 10: Line 11:
===Example===
===Example===
:SOLID_SUBTRACT 2, 1
:SOLID_SUBTRACT 2, 1
{{solids_created_solidref}}


[[Category:Solids]]
[[Category:Solids]]

Latest revision as of 15:47, 17 January 2011

Up

Command

SOLID_SUBTRACT
SOLID_SUBTRACT
SOLID_SUBTRACT <solid 1>, <solid 2>


Create a solid that is the result of subtracting one solid from another.

Parameters

<solid 1>
First solid number
<solid 2>
Second solid number

Example

SOLID_SUBTRACT 2, 1
The variable SolidRef will be set to the number of the new solid.