スケッチの設定で使用するもの

ここでは、スケッチの設定をする際に引数として指定するプロパティ名およびフラグを紹介します。

スケッチ(Sketch)のプロパティ

これらのプロパティは、 Sketch クラスで使用されます。

プロパティ名
(propName)
タイプ
(Type)
フラグ名
(scriptKeyName)

説明

Name String

アイテム名

Suppress bool

スケッチの抑制

Visible bool

表示

Color Color

フィレットフィーチャに変換(ConvertToRegionFillet)のプロパティ

これらのプロパティは、 ConvertToRegionFillet クラスで使用されます。

プロパティ名
(propName)
タイプ
(Type)
フラグ名
(scriptKeyName)

説明

FilletEdges stringlist

フィレットエッジ

MergeFeature bool 同じ寸法のフィレットをマージする

鏡面コピーフィーチャに変換(ConvertToSketchMirrorPatternFeature)のプロパティ

これらのプロパティは、 ConvertToSketchMirrorPatternFeature クラスで使用されます。

プロパティ名
(propName)
タイプ
(Type)
フラグ名
(scriptKeyName)

説明

Symmetry String

対称性

SymmetryType Flag
0 or SelectEntity
1 or SpecifyVector
2 or DefaultX
3 or DefaultY

タイプ
形状選択
ベクトル指定
X軸
Y軸

SymmetryVecX Double

軸ベクトル / X

SymmetryVecY Double

軸ベクトル / Y

SymmetryPosX Double

軸上の点 / X

SymmetryPosY Double

軸上の点 / Y

Reverse bool

方向反転

Region stringlist

領域

AddGeometrySet bool

Add Geometry Set to Edge on the Symmetric Axis

GeometrySetName String

Geometry Set Name

ShowDifference bool Show Difference from Original Geometry

円形パターンフィーチャに変換(ConvertToSketchCircularPatternFeature)のプロパティ

これらのプロパティは、 ConvertToSketchCircularPatternFeature クラスで使用されます。

プロパティ名
(propName)
タイプ
(Type)
フラグ名
(scriptKeyName)

説明

Axis String

Reference Direction / Reference Direction

AxisType Flag
0 or SelectEntity
1 or SpecifyVector
2 or DefaultX
3 or DefaultY

Reference Direction / タイプ
形状選択
ベクトル指定
X軸
Y軸

AxisVecX Double

Reference Direction / ベクトル / X

AxisVecY Double

Reference Direction / ベクトル / Y

Center String

中心 / 中心

CenterType Flag
0 or SelectEntity
1 or SpecifyPosition
2 or DefaultOrigin

中心 / タイプ
形状選択
座標指定
原点

CenterPosX Double

中心 / X

CenterPosY Double

中心 / Y

Reverse bool

方向反転

Region stringlist

領域

SpecifyType Flag
0 or CenterAngleAndDivisionNumber
1 or CenterAngleAndDivisionAngle

Specify Type
Center Angle And Division Number
Center Angle And Division Angle

CenterAngle Double

Center Angle

DivisionNumber Flag

Division Number

DivisionAngle Double

Division Angle

SpecifyInstance bool

Specify Instance

Instance Flag

Instance

StartAngle Double

Start Angle

UseMirrorCopy bool

Use Mirror Copy

AddGeometrySet bool

Add Geometry Set to Boundary Edge at Reference Direction

GeometrySetName String

Geometry Set Name

ShowDifference bool Show Difference from Original Geometry

直線パターンフィーチャに変換(ConvertToSketchLinearPatternFeature)のプロパティ

これらのプロパティは、 ConvertToSketchLinearPatternFeature クラスで使用されます。

プロパティ名
(propName)
タイプ
(Type)
フラグ名
(scriptKeyName)

説明

Axis String

Reference Direction / Reference Direction

AxisType Flag
0 or SelectEntity
1 or SpecifyVector
2 or DefaultX
3 or DefaultY

Reference Direction / タイプ
形状選択
ベクトル指定
X軸
Y軸

AxisVecX Double

Reference Direction / ベクトル / X

AxisVecY Double

Reference Direction / ベクトル / Y

Center String

Reference Coordinate / Reference Coordinate

CenterType Flag
0 or SelectEntity
1 or SpecifyPosition
2 or DefaultOrigin

Reference Coordinate / タイプ
形状選択
座標指定
原点

CenterPosX Double

Reference Coordinate / X

CenterPosY Double

Reference Coordinate / Y

Region stringlist

領域

SpecifyType Flag
0 or LengthAndDivisionNumber
1 or LengthAndSpacing

Specify Type
Length And Division Number
Length And Spacing

Length1 Double

方向1 / Length of Direction1

DivisionNumber1 Flag

方向1 / Division Number of Direction1

Spacing1 Double

方向1 / Spacing of Direction1

Angle1 Double

方向1 / Angle of Direction1

Reverse1 bool

方向1 / Reverse of Direction1

SpecifyInstance1 bool

方向1 / Specify Instance1

Instance1 Flag

方向1 / Instance1

Length2 Double

方向2 / Length of Direction2

DivisionNumber2 Flag

方向2 / Division Number of Direction2

Spacing2 Double

方向2 / Spacing of Direction2

Angle2 Double

方向2 / Angle of Direction2

Reverse2 bool

方向2 / Reverse of Direction2

SpecifyInstance2 bool

方向2 / Specify Instance2

Instance2 Flag

方向2 / Instance2

UseMirrorCopy bool

Use Mirror Copy

AddGeometrySet1 bool

Add Geometry Set to Boundary Edge at Direction1

GeometrySetName1 String

Geometry Set Name1

AddGeometrySet2 bool

Add Geometry Set to Boundary Edge at Direction2

GeometrySetName2 String

Geometry Set Name2

ShowDifference bool Show Difference from Original Geometry