DrawImplicitPrimitiveTool

Introduced

v1.0

Description

Creates implicit primitives at positions picked by the user.

Scripting Syntax

DrawImplicitPrimitiveTool( PresetObj, [Name], [Parent] );

Parameters

Parameter Type Description
PresetObj String or a preset object (see SIGetPreset) The name of a primitive preset. See Implicit Primitives and Geometry Primitives for a list of supported preset names.
Name String Base name of new primitives
Parent String Name of an existing object to use as the parent of the new primitives.

Examples

1. VBScript Example

'This example shows how to use the interactive command DrawImplicitTool

newscene

'Activate...Click and create implicit cones under the scene root...

DrawImplicitPrimitiveTool "Cone"

2. VBScript Example

'This example shows how to use the interactive command DrawImplicitTool

newscene

'Activate...Click and create implicit cones under the scene root...

DrawImplicitPrimitiveTool "Cone", "sphere"

See Also

DrawPrimitiveTool