DrawImplicitPrimitiveTool

導入

v1.0

詳細

ユーザが選択した位置に、インプリシット プリミティブを作成します。

スクリプト構文

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

パラメータ

パラメータ タイプ 説明
PresetObj String またはプリセット オブジェクト(「SIGetPreset」を参照) プリミティブ プリセットの名前。 サポートされているプリセット名のリストについては、「インプリシット プリミティブ」および「ジオメトリ プリミティブ」を参照してください。
Name 文字列 新規プリミティブの基本名
Parent 文字列 既存のオブジェクトの名前。新しいプリミティブの親として使用されます。

1. VBScript の例

'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 の例

'This example shows how to use the interactive command DrawImplicitTool

newscene

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

DrawImplicitPrimitiveTool "Cone", "sphere"

関連項目

DrawPrimitiveTool