Creates a new draft feature.
"draftFeatures_var" is a variable referencing a DraftFeatures object. |
"draftFeatures_var" is a variable referencing a DraftFeatures object. |
"draftFeatures_var" is a variable referencing a DraftFeatures object. |
| Type | Description |
| DraftFeature | Returns the newly created DraftFeature object or null if the creation failed. |
| Name | Type | Description |
| input | DraftFeatureInput | A DraftFeatureInput object that defines the desired draft. Use the createInput method to create a new DraftFeatureInput object and then use methods on it (the DraftFeatureInput object) to define the draft. |
| Name | Description |
| Draft Feature API Sample | Demonstrates creating a new draft feature. Before running: Run in the DESIGN workspace from Scripts and Add-Ins (Python, C++, or TypeScript), unless the script states otherwise. |