Method that creates a model datum definition.
Name | Type | Description |
DatumTargetPoints | ObjectCollection | Input ObjectCollection including the points that define the datum target points.
Valid entities for the datum target points are:
|
DatumTargetPlanes | Variant | Optional input ObjectCollection including the AnnotationPlaneDefinition objects that define the datum target planes that control the datum target texts’ orientation. This is an optional argument whose default value is null. |
DatumTargetTextPositions | Variant | Optional input ObjectCollection including the Point objects that define the datum target texts’ positions. This is an optional argument whose default value is null. |
DatumTargetIndices | Variant | Optional input Long array to specify the indices of the datum targets. The item count of this array should be the same as the item count of the DatumTargetPoints. This is an optional argument whose default value is null. |
DatumTargetType | Variant | Optional input the ModelDatumTargetTypeEnum that specifies the datum target type. If not specified the default ModelDatumTargetTypePoint is used. This is an optional argument whose default value is null. |
DatumTargetAreaValueOne | Variant | Optional input Double array that specifies the datum target area size. If not specified the default values will be used. If the DatumTargetType is specified as kModelDatumTargetTypeCircle the values indicate the area diameter, If the DatumTargetType is kModelDatumTargetTypeRectangle the values indicate the area width. For other DatumTargetType values this is ignored. This is an optional argument whose default value is null. |
DatumTargetAreaValueTwo | Variant | Optional input Double array that specifies the datum target area size. If not specified the default values will be used. If the DatumTargetType is specified as kModelDatumTargetTypeRectangle the values indicate the area height. For other DatumTargetType values this is ignored. This is an optional argument whose default value is null. |
DatumText | Variant | Optional input String that specifies the datum label. If not specified an available label will be used. This is an optional argument whose default value is null. |