嵌套零件类
更多...
#include <NestingPart.hxx>
◆ Formats
此枚举定义文件格式类型。
| 枚举值 |
|---|
| FormatsPrt | prt格式
|
| FormatsDxf | dxf格式
|
◆ Priorities
此枚举定义零件的优先级等级。
| 枚举值 |
|---|
| PrioritiesLowest | 最低
|
| PrioritiesLow | 低
|
| PrioritiesNormal | 正常
|
| PrioritiesHigh | 高
|
| PrioritiesHighest | 最高
|
◆ Rotations
此枚举定义允许的旋转值。
| 枚举值 |
|---|
| RotationsFree | 自由旋转
|
| RotationsNone | 不旋转
|
| RotationsDegrees90 | 旋转90度
|
| RotationsDegrees180 | 旋转180度
|
◆ ~NestingPart()
| virtual NXOpen::NestingPart::~NestingPart |
( |
| ) |
|
|
virtual |
释放与该实例关联的资源。调用此方法后,该对象将不可再使用。在.NET中,当垃圾回收器删除对象时会自动调用此方法。
于NX2007.0.0版本创建。
许可要求: 无
◆ AllowMirror()
| bool NXOpen::NestingPart::AllowMirror |
( |
| ) |
|
获取是否允许镜像的标识。
创建于NX2007.0.0。
许可要求:无
◆ Clearance()
| double NXOpen::NestingPart::Clearance |
( |
| ) |
|
获取间隙值。
创建于NX2212.0.0。
许可要求:无
◆ Format()
获取文件格式。
于NX2007.0.0版本创建。
许可要求: 无
◆ Include()
| bool NXOpen::NestingPart::Include |
( |
| ) |
|
获取是否包含的标识。
创建于NX2007.0.0。
许可要求:无
◆ IsValid()
| bool NXOpen::NestingPart::IsValid |
( |
| ) |
|
获取零件有效性状态。返回True表示零件有效。
创建于NX2007.0.0。
许可要求:无
◆ Material()
| NXString NXOpen::NestingPart::Material |
( |
| ) |
|
获取材料信息。
于NX2007.0.0版本创建。
许可要求: 无
◆ Name()
获取零件名称。
于NX2007.0.0版本创建。
许可要求: 无
◆ Priority()
获取零件优先级。
创建于NX2007.0.0。
许可要求:无
◆ Quantity()
| int NXOpen::NestingPart::Quantity |
( |
| ) |
|
获取零件数量。
创建于NX2007.0.0。
许可要求:无
◆ Rotation()
获取零件旋转方式。
创建于NX2007.0.0。
许可要求:无
◆ RotationOffset()
| double NXOpen::NestingPart::RotationOffset |
( |
| ) |
|
获取零件旋转偏移量。
创建于NX2212.0.0。
许可要求:无
◆ RotationTolerance()
| double NXOpen::NestingPart::RotationTolerance |
( |
| ) |
|
获取零件旋转公差。
创建于NX2007.0.0。
许可要求:无
◆ SetAllowMirror()
| void NXOpen::NestingPart::SetAllowMirror |
( |
bool | allowMirror | ) |
|
设置是否允许镜像的标识。
创建于NX2007.0.0。
许可要求:nx_2d_nesting("NX 2D排样")
- 参数
-
◆ SetClearance()
| void NXOpen::NestingPart::SetClearance |
( |
double | clearance | ) |
|
设置间隙。
版本:NX2212.0.0。
许可要求:nx_2d_nesting("NX 2D排样")
- 参数
-
◆ SetInclude()
| void NXOpen::NestingPart::SetInclude |
( |
bool | include | ) |
|
设置是否包含的标识。
创建于NX2007.0.0。
许可要求:nx_2d_nesting("NX 2D排样")
- 参数
-
◆ SetPriority()
设置零件优先级。
创建于NX2007.0.0。
许可要求:nx_2d_nesting("NX 2D排样")
- 参数
-
◆ SetQuantity()
| void NXOpen::NestingPart::SetQuantity |
( |
int | partQuantity | ) |
|
设置零件数量。
创建于NX2007.0.0。
许可要求:nx_2d_nesting("NX 2D排样")
- 参数
-
◆ SetRotation()
设置零件旋转方式。
创建于NX2007.0.0。
许可要求:nx_2d_nesting("NX 2D排样")
- 参数
-
◆ SetRotationOffset()
| void NXOpen::NestingPart::SetRotationOffset |
( |
double | rotationOffset | ) |
|
设置零件旋转偏移量。
创建于NX2212.0.0。
许可要求:nx_2d_nesting("NX 2D排样")
- 参数
-
◆ SetRotationTolerance()
| void NXOpen::NestingPart::SetRotationTolerance |
( |
double | rotationTolerance | ) |
|
设置零件旋转公差。
创建于NX2007.0.0。
许可要求:nx_2d_nesting("NX 2D排样")
- 参数
-
◆ Thickness()
| double NXOpen::NestingPart::Thickness |
( |
| ) |
|
获取零件厚度。
于NX2007.0.0版本创建。
许可要求: 无