NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
NXOpen::Sketch::DimensionGeometry结构体 参考

#include <Sketch.hxx>

Public 成员函数

 DimensionGeometry (NXOpen::NXObject *geometryInitial, NXOpen::Sketch::AssocType assocTypeInitial, int assocValueInitial, const NXOpen::Point3d &helpPointInitial, NXOpen::NXObject *viewInitial)

Public 属性

NXOpen::Sketch::AssocType AssocType
int AssocValue
NXOpen::NXObjectGeometry
NXOpen::Point3d HelpPoint
NXOpen::NXObjectView

详细描述

Used in the dimension creation methods to indicate what geometry to create the dimension on.

Examples:
1. To specify the start point of line1
Geometry = line1
AssocType = StartPoint

构造及析构函数说明

◆ DimensionGeometry()

NXOpen::Sketch::DimensionGeometry::DimensionGeometry ( NXOpen::NXObject * geometryInitial,
NXOpen::Sketch::AssocType assocTypeInitial,
int assocValueInitial,
const NXOpen::Point3d & helpPointInitial,
NXOpen::NXObject * viewInitial )
inline

Constructor for the DimensionGeometry struct.

参数
geometryInitialgeometry
assocTypeInitialassoc type
assocValueInitialSee table for meaning.
The AssocValue has the following meanings:
---------- -------------------
Tangency parameter percentage (0 - 100) (used to find approximate tangent point)
CurvePoint the index number of the defining point of the spline(starting from 1)
all else not used
helpPointInitialhelp point
viewInitialThe view the geometry is dependent on, if any

类成员变量说明

◆ AssocType

NXOpen::Sketch::AssocType NXOpen::Sketch::DimensionGeometry::AssocType

assoc type

◆ AssocValue

int NXOpen::Sketch::DimensionGeometry::AssocValue

See table for meaning.

The AssocValue has the following meanings:
---------- -------------------
Tangency parameter percentage (0 - 100) (used to find approximate tangent point)
CurvePoint the index number of the defining point of the spline(starting from 1)
all else not used

◆ Geometry

NXOpen::NXObject* NXOpen::Sketch::DimensionGeometry::Geometry

geometry

◆ HelpPoint

NXOpen::Point3d NXOpen::Sketch::DimensionGeometry::HelpPoint

help point

◆ View

NXOpen::NXObject* NXOpen::Sketch::DimensionGeometry::View

The view the geometry is dependent on, if any