块体特征构建器
更多...
#include <Features_BlockFeatureBuilder.hxx>
|
| NXOpen::GeometricUtilities::BooleanOperation * | BooleanOption () |
| NXOpen::Features::Feature::BooleanType | BooleanType () |
| void | GetOrientation (NXOpen::Vector3d *xAxis, NXOpen::Vector3d *yAxis) |
| NXOpen::Expression * | Height () |
| NXOpen::Expression * | Length () |
| NXOpen::Point3d | Origin () |
| NXOpen::Point * | OriginPoint () |
| bool | ParentAssociativity () |
| NXOpen::Point * | PointFromOrigin () |
| void | SetBooleanOperationAndTarget (NXOpen::Features::Feature::BooleanType booleanOperation, NXOpen::Body *targetBody) |
| void | SetBooleanType (NXOpen::Features::Feature::BooleanType booleanType) |
| void | SetHeight (const char *height) |
| void | SetHeight (const NXString &height) |
| void | SetLength (const char *length) |
| void | SetLength (const NXString &length) |
| void | SetOrientation (const NXOpen::Vector3d &xAxis, const NXOpen::Vector3d &yAxis) |
| void | SetOrigin (const NXOpen::Point3d &origin) |
| void | SetOriginAndLengths (const NXOpen::Point3d &originPoint, const char *lengthExpression, const char *widthExpression, const char *heightExpression) |
| void | SetOriginAndLengths (const NXOpen::Point3d &originPoint, const NXString &lengthExpression, const NXString &widthExpression, const NXString &heightExpression) |
| void | SetOriginPoint (NXOpen::Point *blockOriginPoint) |
| void | SetParentAssociativity (bool parentAssociativity) |
| void | SetPointFromOrigin (NXOpen::Point *blockPointFromOrigin) |
| void | SetTarget (NXOpen::Body *target) |
| void | SetTwoDiagonalPoints (const NXOpen::Point3d &originPoint, const NXOpen::Point3d &cornerPoint) |
| void | SetTwoPointsAndHeight (const NXOpen::Point3d &originPoint, const NXOpen::Point3d &cornerPoint, const char *heightExpression) |
| void | SetTwoPointsAndHeight (const NXOpen::Point3d &originPoint, const NXOpen::Point3d &cornerPoint, const NXString &heightExpression) |
| void | SetType (NXOpen::Features::BlockFeatureBuilder::Types type) |
| void | SetWidth (const char *width) |
| void | SetWidth (const NXString &width) |
| NXOpen::Body * | Target () |
| NXOpen::Features::BlockFeatureBuilder::Types | Type () |
| NXOpen::Expression * | Width () |
| NXOpen::Features::Feature * | CommitFeature () |
| NXOpen::Features::Feature * | GetFeature () |
| void | HideInternalParentFeatureAfterEdit (NXOpen::Features::Feature *parentFeature) |
| bool | ParentFeatureInternal () |
| void | SetParentFeatureInternal (bool isInternal) |
| void | SetParentFeatureInternal (NXOpen::Features::Feature *parentFeature) |
| void | ShowInternalParentFeatureForEdit (NXOpen::Features::Feature *parentFeature) |
| void | UnsetParentFeatureInternal (NXOpen::Features::Feature *parentFeature) |
| NXOpen::NXObject * | Commit () |
| void | Destroy () |
| std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
| NXOpen::NXObject * | GetObject () |
| NXOpen::PreviewBuilder * | PreviewBuilder () |
| void | ShowResults () |
| virtual bool | Validate () |
| tag_t | Tag () const |
|
|
class | _BlockFeatureBuilderBuilder |
◆ Types
表示块类型
| 枚举值 |
|---|
| TypesOriginAndEdgeLengths | 表示通过提供原点和边长度创建的块
|
| TypesTwoPointsAndHeight | 表示通过提供两点和高度创建的块
|
| TypesDiagonalPoints | 表示通过提供对角线点创建的块
|
◆ BooleanOption()
返回布尔选项
创建于NX6.0.0。
许可证要求:无
◆ BooleanType()
返回块的布尔操作类型
创建于NX4.0.0.
许可证要求:solid_modeling ("SOLIDS MODELING") 或 cam_base ("CAM BASE") 或 insp_programming ("INSPECTION PROGRAMMING")
◆ GetOrientation()
获取块的定向(x和y轴)。
创建于NX4.0.0。
许可证要求:solid_modeling ("SOLIDS MODELING") 或 cam_base ("CAM BASE") 或 insp_programming ("INSPECTION PROGRAMMING")
- 参数
-
◆ Height()
返回表示块高度的表达式。
创建于NX4.0.0。
许可证要求:solid_modeling ("SOLIDS MODELING") 或 cam_base ("CAM BASE") 或 insp_programming ("INSPECTION PROGRAMMING")
◆ Length()
返回表示块长度的表达式。
创建于NX4.0.0。
许可证要求:solid_modeling ("SOLIDS MODELING") 或 cam_base ("CAM BASE") 或 insp_programming ("INSPECTION PROGRAMMING")
◆ Origin()
返回表示块原点的点坐标。
创建于NX4.0.0。
许可证要求:solid_modeling ("SOLIDS MODELING") 或 cam_base ("CAM BASE") 或 insp_programming ("INSPECTION PROGRAMMING")
◆ OriginPoint()
| NXOpen::Point * NXOpen::Features::BlockFeatureBuilder::OriginPoint |
( |
| ) |
|
返回块原点
创建于NX6.0.0。
许可证要求:无
◆ ParentAssociativity()
| bool NXOpen::Features::BlockFeatureBuilder::ParentAssociativity |
( |
| ) |
|
返回保持原点和原点偏移点关联性的选项
创建于NX8.0.0。
许可证要求:无
◆ PointFromOrigin()
| NXOpen::Point * NXOpen::Features::BlockFeatureBuilder::PointFromOrigin |
( |
| ) |
|
当类型为两点和高度时,返回从原点沿WCS的x、y轴定义值的点;当类型为对角点时,返回从原点沿WCS的x、y和z轴定义值的点。
创建于NX6.0.0。
许可证要求:无
◆ SetBooleanOperationAndTarget()
设置创建块的布尔运算和布尔运算的目标体
创建于NX3.0.0。
许可证要求:solid_modeling("SOLIDS MODELING")或features_modeling("FEATURES MODELING")或cam_base("CAM BASE")或insp_programming("INSPECTION PROGRAMMING")
- 参数
-
| booleanOperation | 布尔运算类型。 |
| targetBody | 布尔运算的目标体。 对于布尔创建运算,设置为空引用(Visual Basic中为Nothing)。 |
◆ SetBooleanType()
设置块的布尔操作类型
创建于NX4.0.0.
许可证要求:solid_modeling ("SOLIDS MODELING") 或 cam_base ("CAM BASE") 或 insp_programming ("INSPECTION PROGRAMMING")
- 参数
-
◆ SetHeight() [1/2]
| void NXOpen::Features::BlockFeatureBuilder::SetHeight |
( |
const char * | height | ) |
|
表示块高度的表达式。
创建于NX4.0.0.
许可证要求:solid_modeling ("SOLIDS MODELING") 或 cam_base ("CAM BASE") 或 insp_programming ("INSPECTION PROGRAMMING")
- 参数
-
◆ SetHeight() [2/2]
| void NXOpen::Features::BlockFeatureBuilder::SetHeight |
( |
const NXString & | height | ) |
|
表示块高度的表达式。
创建于NX4.0.0.
许可证要求:solid_modeling ("SOLIDS MODELING") 或 cam_base ("CAM BASE") 或 insp_programming ("INSPECTION PROGRAMMING")
- 参数
-
◆ SetLength() [1/2]
| void NXOpen::Features::BlockFeatureBuilder::SetLength |
( |
const char * | length | ) |
|
表示块长度的表达式。
创建于NX4.0.0.
许可证要求:solid_modeling ("SOLIDS MODELING") 或 cam_base ("CAM BASE") 或 insp_programming ("INSPECTION PROGRAMMING")
- 参数
-
◆ SetLength() [2/2]
| void NXOpen::Features::BlockFeatureBuilder::SetLength |
( |
const NXString & | length | ) |
|
表示块长度的表达式。
创建于NX4.0.0.
许可证要求:solid_modeling ("SOLIDS MODELING") 或 cam_base ("CAM BASE") 或 insp_programming ("INSPECTION PROGRAMMING")
- 参数
-
◆ SetOrientation()
设置块的方向
创建于NX4.0.0.
许可证要求:solid_modeling ("SOLIDS MODELING") 或 cam_base ("CAM BASE") 或 insp_programming ("INSPECTION PROGRAMMING")
- 参数
-
◆ SetOrigin()
| void NXOpen::Features::BlockFeatureBuilder::SetOrigin |
( |
const NXOpen::Point3d & | origin | ) |
|
设置表示块原点的点坐标。
创建于NX4.0.0.
许可证要求:solid_modeling ("SOLIDS MODELING") 或 cam_base ("CAM BASE") 或 insp_programming ("INSPECTION PROGRAMMING")
- 参数
-
◆ SetOriginAndLengths() [1/2]
| void NXOpen::Features::BlockFeatureBuilder::SetOriginAndLengths |
( |
const NXOpen::Point3d & | originPoint, |
|
|
const char * | lengthExpression, |
|
|
const char * | widthExpression, |
|
|
const char * | heightExpression ) |
通过设置原点和块的长、宽、高创建块。块的原点由输入的绝对坐标原点指定。块的方向沿WCS的x、y、z轴。
创建于NX3.0.0.
许可证要求:solid_modeling ("SOLIDS MODELING") 或 features_modeling ("FEATURES MODELING") 或 cam_base ("CAM BASE") 或 insp_programming ("INSPECTION PROGRAMMING")
- 参数
-
| originPoint | 块原点 |
| lengthExpression | WCS x方向的块长度 |
| widthExpression | WCS y方向的块宽度 |
| heightExpression | WCS z方向的块高度 |
◆ SetOriginAndLengths() [2/2]
| void NXOpen::Features::BlockFeatureBuilder::SetOriginAndLengths |
( |
const NXOpen::Point3d & | originPoint, |
|
|
const NXString & | lengthExpression, |
|
|
const NXString & | widthExpression, |
|
|
const NXString & | heightExpression ) |
通过设置原点和块的长、宽、高创建块。块的原点由输入的绝对坐标原点指定。块的方向沿WCS的x、y、z轴。
创建于NX3.0.0.
许可证要求:solid_modeling ("SOLIDS MODELING") 或 features_modeling ("FEATURES MODELING") 或 cam_base ("CAM BASE") 或 insp_programming ("INSPECTION PROGRAMMING")
- 参数
-
| originPoint | 块原点 |
| lengthExpression | WCS x方向的块长度 |
| widthExpression | WCS y方向的块宽度 |
| heightExpression | WCS z方向的块高度 |
◆ SetOriginPoint()
| void NXOpen::Features::BlockFeatureBuilder::SetOriginPoint |
( |
NXOpen::Point * | blockOriginPoint | ) |
|
设置块原点
创建于NX6.0.0。
许可证要求:无
- 参数
-
| blockOriginPoint | blockoriginpoint |
◆ SetParentAssociativity()
| void NXOpen::Features::BlockFeatureBuilder::SetParentAssociativity |
( |
bool | parentAssociativity | ) |
|
设置保持原点和原点偏移点关联性的选项
创建于NX8.0.0。
许可证要求:solid_modeling("SOLIDS MODELING")或features_modeling("FEATURES MODELING")或cam_base("CAM BASE")或insp_programming("INSPECTION PROGRAMMING")
- 参数
-
| parentAssociativity | parentassociativity |
◆ SetPointFromOrigin()
| void NXOpen::Features::BlockFeatureBuilder::SetPointFromOrigin |
( |
NXOpen::Point * | blockPointFromOrigin | ) |
|
当类型为两点和高度时,设置从原点沿WCS的x、y轴定义值的点;当类型为对角点时,设置从原点沿WCS的x、y和z轴定义值的点。
创建于NX6.0.0。
许可证要求:无
- 参数
-
| blockPointFromOrigin | blockpointfromorigin |
◆ SetTarget()
| void NXOpen::Features::BlockFeatureBuilder::SetTarget |
( |
NXOpen::Body * | target | ) |
|
设置块布尔操作的目标体(如有)
创建于NX4.0.0.
许可证要求:solid_modeling ("SOLIDS MODELING") 或 cam_base ("CAM BASE") 或 insp_programming ("INSPECTION PROGRAMMING")
- 参数
-
◆ SetTwoDiagonalPoints()
通过设置两个对角点(一个在块原点,一个在对角点)创建块。块的方向沿WCS的x、y和z轴。
创建于NX3.0.0。
许可证要求:solid_modeling("SOLIDS MODELING")或features_modeling("FEATURES MODELING")或cam_base("CAM BASE")或insp_programming("INSPECTION PROGRAMMING")
- 参数
-
| originPoint | 块原点 |
| cornerPoint | 块的对角点,与块原点构成对角 |
◆ SetTwoPointsAndHeight() [1/2]
| void NXOpen::Features::BlockFeatureBuilder::SetTwoPointsAndHeight |
( |
const NXOpen::Point3d & | originPoint, |
|
|
const NXOpen::Point3d & | cornerPoint, |
|
|
const char * | heightExpression ) |
在WCS的xy平面上通过设置块高度和两个对角点创建块。块的方向沿WCS的x、y和z轴。
创建于NX3.0.0。
许可证要求:solid_modeling("SOLIDS MODELING")或features_modeling("FEATURES MODELING")或cam_base("CAM BASE")或insp_programming("INSPECTION PROGRAMMING")
- 参数
-
| originPoint | 块原点 |
| cornerPoint | 块的二维角点,在WCS的xy平面上与块原点构成对角。 |
| heightExpression | 块在WCS z方向上的高度表达式 |
◆ SetTwoPointsAndHeight() [2/2]
在WCS的xy平面上通过设置块高度和两个对角点创建块。块的方向沿WCS的x、y和z轴。
创建于NX3.0.0。
许可证要求:solid_modeling("SOLIDS MODELING")或features_modeling("FEATURES MODELING")或cam_base("CAM BASE")或insp_programming("INSPECTION PROGRAMMING")
- 参数
-
| originPoint | 块原点 |
| cornerPoint | 块的二维角点,在WCS的xy平面上与块原点构成对角。 |
| heightExpression | 块在WCS z方向上的高度表达式 |
◆ SetType()
◆ SetWidth() [1/2]
| void NXOpen::Features::BlockFeatureBuilder::SetWidth |
( |
const char * | width | ) |
|
表示块宽度的表达式。
创建于NX4.0.0.
许可证要求:solid_modeling ("SOLIDS MODELING") 或 cam_base ("CAM BASE") 或 insp_programming ("INSPECTION PROGRAMMING")
- 参数
-
◆ SetWidth() [2/2]
| void NXOpen::Features::BlockFeatureBuilder::SetWidth |
( |
const NXString & | width | ) |
|
表示块宽度的表达式。
创建于NX4.0.0.
许可证要求:solid_modeling ("SOLIDS MODELING") 或 cam_base ("CAM BASE") 或 insp_programming ("INSPECTION PROGRAMMING")
- 参数
-
◆ Target()
| NXOpen::Body * NXOpen::Features::BlockFeatureBuilder::Target |
( |
| ) |
|
返回块布尔操作的目标体(如有)
创建于NX4.0.0.
许可证要求:solid_modeling ("SOLIDS MODELING") 或 cam_base ("CAM BASE") 或 insp_programming ("INSPECTION PROGRAMMING")
◆ Type()
◆ Width()
返回表示块宽度的表达式。
创建于NX4.0.0。
许可证要求:solid_modeling ("SOLIDS MODELING") 或 cam_base ("CAM BASE") 或 insp_programming ("INSPECTION PROGRAMMING")