Difference between revisions of "CREATE FEATURE"

From Macros Wiki
Jump to: navigation, search
(Created page with "{{Up}} {{Command|syntax=create_FEATURE <feature name> <red> <green> <blue> [<feature id>] |description=:Create a new feature from the current...")
 
 
Line 1: Line 1:
 
[[:Features:Selecting_Features|{{Up}}]]
 
[[:Features:Selecting_Features|{{Up}}]]
  
{{Command|syntax=create_FEATURE <feature name> <red> <green> <blue> [<feature id>]
+
{{Command|syntax=CREATE_FEATURE <feature name> <red> <green> <blue> [<feature id>]
|description=:Create a new feature from the current selected faces, edges and geometry.
+
|description=:Create a new feature from the currently selected faces, edges and geometry.
  
 
|param1=<feature name>|param1_desc=Feature name
 
|param1=<feature name>|param1_desc=Feature name
|param2=<feature name>|param1_desc=Feature name
+
|param2=<red>|param2_desc=red component of the feature color (between 0 and 255)
 +
|param3=<green>|param3_desc=green component of the feature color (between 0 and 255)
 +
|param4=<blue>|param4_desc=blue component of the feature color (between 0 and 255)
 +
|param5=<feature id>|param5_desc=The name of a numeric variable to set to the ID of the new feature
 
}}
 
}}
  

Latest revision as of 11:44, 14 September 2017

Up

Command

CREATE_FEATURE <feature name> <red> <green> <blue> [<feature id>]


Create a new feature from the currently selected faces, edges and geometry.

Parameters

<feature name>
Feature name
<red>
red component of the feature color (between 0 and 255)
<green>
green component of the feature color (between 0 and 255)
<blue>
blue component of the feature color (between 0 and 255)
<feature id>
The name of a numeric variable to set to the ID of the new feature

Example

CREATE_FEATURE "NewFeature", 255, 128, 64, NewFeatureID