NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
NXOpen::NestingSettings类 参考

嵌套设置类 更多...

#include <NestingSettings.hxx>

类 NXOpen::NestingSettings 继承关系图:
NXOpen::TransientObject

Public 类型

enum  EdgeToPartDistanceOptions { EdgeToPartDistanceOptionsSingle , EdgeToPartDistanceOptionsMultiple }
enum  NestDirections { NestDirectionsBottomLeft , NestDirectionsBottomRight , NestDirectionsTopLeft , NestDirectionsTopRight }
enum  OutputOptions { OutputOptionsTwoD , OutputOptionsThreeD }

Public 成员函数

void AddLayerToAttachLayers (int layer)
void AddLayerToCutLayers (int layer)
int BatchQuantity ()
double BottomEdgeToPartDistance ()
void ClearAttachLayers ()
void ClearCutLayers ()
double EdgeToPartDistance ()
NXOpen::NestingSettings::EdgeToPartDistanceOptions EdgeToPartDistanceOption ()
std::vector< int > GetAttachLayers ()
std::vector< int > GetCutLayers ()
double LeftEdgeToPartDistance ()
NXOpen::NestingSettings::NestDirections NestDirection ()
double NestTime ()
NXString OutputFilePath ()
NXOpen::NestingSettings::OutputOptions OutputOption ()
double PartToPartDistance ()
NXString RemnantFolderLocation ()
double RemnantMinArea ()
double RemnantMinDimension ()
double RightEdgeToPartDistance ()
void SetBatchQuantity (int batchQuantity)
void SetBottomEdgeToPartDistance (double bottomEdgeToPartDistance)
void SetEdgeToPartDistance (double distance)
void SetEdgeToPartDistanceOption (NXOpen::NestingSettings::EdgeToPartDistanceOptions edgeToPartDistanceOption)
void SetLeftEdgeToPartDistance (double leftEdgeToPartDistance)
void SetNestDirection (NXOpen::NestingSettings::NestDirections anchorLocation)
void SetNestTime (double nestTime)
void SetOutputFilePath (const char *filePath)
void SetOutputFilePath (const NXString &filePath)
void SetOutputOption (NXOpen::NestingSettings::OutputOptions outputOption)
void SetPartToPartDistance (double distance)
void SetRemnantFolderLocation (const char *folderPath)
void SetRemnantFolderLocation (const NXString &folderPath)
void SetRemnantMinArea (double minArea)
void SetRemnantMinDimension (double minDimension)
void SetRightEdgeToPartDistance (double rightEdgeToPartDistance)
void SetStandardStockFilePath (const char *filePath)
void SetStandardStockFilePath (const NXString &filePath)
void SetTopEdgeToPartDistance (double topEdgeToPartDistance)
NXString StandardStockFilePath ()
double TopEdgeToPartDistance ()
virtual ~NestingSettings ()
Public 成员函数 继承自 NXOpen::TransientObject
void * GetHandle ()

详细描述

嵌套设置类

表示钣金排样设置类。
创建于NX2007.0.0。

成员枚举类型说明

◆ EdgeToPartDistanceOptions

此枚举定义边到零件的距离选项。

枚举值
EdgeToPartDistanceOptionsSingle 

单一值

EdgeToPartDistanceOptionsMultiple 

多值

◆ NestDirections

此枚举定义排样方向。

枚举值
NestDirectionsBottomLeft 

左下

NestDirectionsBottomRight 

右下

NestDirectionsTopLeft 

左上

NestDirectionsTopRight 

右上

◆ OutputOptions

此枚举定义输出选项。

枚举值
OutputOptionsTwoD 

二维

OutputOptionsThreeD 

三维

构造及析构函数说明

◆ ~NestingSettings()

virtual NXOpen::NestingSettings::~NestingSettings ( )
virtual

释放与实例关联的资源。调用此方法后,该对象将不可再使用。在.NET中,当垃圾回收器删除对象时会自动调用此方法。
创建于NX2007.0.0。

许可要求: 无

成员函数说明

◆ AddLayerToAttachLayers()

void NXOpen::NestingSettings::AddLayerToAttachLayers ( int layer)

将指定图层添加到排样附着图层。
创建于NX2007.0.0。

许可要求:nx_2d_nesting("NX 2D排样")

参数
layer图层

◆ AddLayerToCutLayers()

void NXOpen::NestingSettings::AddLayerToCutLayers ( int layer)

将指定图层添加到排样切割图层。
创建于NX2007.0.0。

许可要求:nx_2d_nesting("NX 2D排样")

参数
layer图层

◆ BatchQuantity()

int NXOpen::NestingSettings::BatchQuantity ( )

获取批量数量。
创建于NX2007.0.0。

许可要求: 无

◆ BottomEdgeToPartDistance()

double NXOpen::NestingSettings::BottomEdgeToPartDistance ( )

获取底部的零件到边缘距离。
创建于NX2212.0.0。

许可证要求:无

◆ ClearAttachLayers()

void NXOpen::NestingSettings::ClearAttachLayers ( )

清除所有附着图层。
创建于NX2007.0.0。

许可要求:nx_2d_nesting("NX 2D排样")

◆ ClearCutLayers()

void NXOpen::NestingSettings::ClearCutLayers ( )

清除所有切割图层。
创建于NX2007.0.0。

许可要求:nx_2d_nesting("NX 2D排样")

◆ EdgeToPartDistance()

double NXOpen::NestingSettings::EdgeToPartDistance ( )

获取零件到边缘的距离。
创建于NX2007.0.0。

许可证要求:无

◆ EdgeToPartDistanceOption()

NXOpen::NestingSettings::EdgeToPartDistanceOptions NXOpen::NestingSettings::EdgeToPartDistanceOption ( )

获取零件到边缘距离的选项。
创建于NX2212.0.0。

许可证要求:无

◆ GetAttachLayers()

std::vector< int > NXOpen::NestingSettings::GetAttachLayers ( )

获取附着图层列表。
创建于NX2007.0.0。

许可要求:无

◆ GetCutLayers()

std::vector< int > NXOpen::NestingSettings::GetCutLayers ( )

获取切割图层列表。
创建于NX2007.0.0。

许可要求:无

◆ LeftEdgeToPartDistance()

double NXOpen::NestingSettings::LeftEdgeToPartDistance ( )

获取左侧/默认的零件到边缘距离。
创建于NX2212.0.0。

许可证要求:无

◆ NestDirection()

NXOpen::NestingSettings::NestDirections NXOpen::NestingSettings::NestDirection ( )

获取排样方向。
创建于NX2007.0.0。

许可证要求:无

◆ NestTime()

double NXOpen::NestingSettings::NestTime ( )

获取排样时间。
创建于NX2007.0.0。

许可要求: 无

◆ OutputFilePath()

NXString NXOpen::NestingSettings::OutputFilePath ( )

获取输出文件的完整路径。
创建于NX2007.0.0。

许可要求:无

◆ OutputOption()

NXOpen::NestingSettings::OutputOptions NXOpen::NestingSettings::OutputOption ( )

获取输出选项。
创建于NX2212.0.0。

许可要求:无

◆ PartToPartDistance()

double NXOpen::NestingSettings::PartToPartDistance ( )

获取零件间距离。
创建于NX2007.0.0。

许可证要求:无

◆ RemnantFolderLocation()

NXString NXOpen::NestingSettings::RemnantFolderLocation ( )

获取余料文件夹的完整路径。
创建于NX2206.0.0。

许可要求:无

◆ RemnantMinArea()

double NXOpen::NestingSettings::RemnantMinArea ( )

获取余料的最小面积。
创建于NX2206.0.0。

许可要求:无

◆ RemnantMinDimension()

double NXOpen::NestingSettings::RemnantMinDimension ( )

获取余料的最小尺寸。
创建于NX2206.0.0。

许可要求:无

◆ RightEdgeToPartDistance()

double NXOpen::NestingSettings::RightEdgeToPartDistance ( )

获取右侧的零件到边缘距离。
创建于NX2212.0.0。

许可证要求:无

◆ SetBatchQuantity()

void NXOpen::NestingSettings::SetBatchQuantity ( int batchQuantity)

设置批量数量。
创建于NX2007.0.0。

许可要求: nx_2d_nesting("NX二维排样")

参数
batchQuantity批量数量

◆ SetBottomEdgeToPartDistance()

void NXOpen::NestingSettings::SetBottomEdgeToPartDistance ( double bottomEdgeToPartDistance)

设置底部的零件到边缘距离。
创建于NX2212.0.0。

许可证要求:nx_2d_nesting("NX 2D排样")

参数
bottomEdgeToPartDistance底部零件到边缘距离

◆ SetEdgeToPartDistance()

void NXOpen::NestingSettings::SetEdgeToPartDistance ( double distance)

设置零件到边缘的距离。
创建于NX2007.0.0。

许可证要求:nx_2d_nesting("NX 2D排样")

参数
distance距离

◆ SetEdgeToPartDistanceOption()

void NXOpen::NestingSettings::SetEdgeToPartDistanceOption ( NXOpen::NestingSettings::EdgeToPartDistanceOptions edgeToPartDistanceOption)

设置零件到边缘距离的选项。
创建于NX2212.0.0。

许可证要求:nx_2d_nesting("NX 2D排样")

参数
edgeToPartDistanceOption零件到边缘距离选项

◆ SetLeftEdgeToPartDistance()

void NXOpen::NestingSettings::SetLeftEdgeToPartDistance ( double leftEdgeToPartDistance)

设置左侧/默认的零件到边缘距离。
创建于NX2212.0.0。

许可证要求:nx_2d_nesting("NX 2D排样")

参数
leftEdgeToPartDistance左侧零件到边缘距离

◆ SetNestDirection()

void NXOpen::NestingSettings::SetNestDirection ( NXOpen::NestingSettings::NestDirections anchorLocation)

设置排样方向。
创建于NX2007.0.0。

许可证要求:nx_2d_nesting("NX 2D排样")

参数
anchorLocation锚点位置

◆ SetNestTime()

void NXOpen::NestingSettings::SetNestTime ( double nestTime)

设置排样时间。
创建于NX2007.0.0。

许可要求: nx_2d_nesting("NX二维排样")

参数
nestTime排样时间

◆ SetOutputFilePath() [1/2]

void NXOpen::NestingSettings::SetOutputFilePath ( const char * filePath)

设置输出文件的完整路径。
创建于NX2007.0.0。

许可要求:nx_2d_nesting("NX 2D排样")

参数
filePath文件路径

◆ SetOutputFilePath() [2/2]

void NXOpen::NestingSettings::SetOutputFilePath ( const NXString & filePath)

设置输出文件的完整路径。
创建于NX2007.0.0。

许可要求:nx_2d_nesting("NX 2D排样")

参数
filePath文件路径

◆ SetOutputOption()

void NXOpen::NestingSettings::SetOutputOption ( NXOpen::NestingSettings::OutputOptions outputOption)

设置输出选项。
创建于NX2212.0.0。

许可要求:nx_2d_nesting("NX 2D排样")

参数
outputOption输出选项

◆ SetPartToPartDistance()

void NXOpen::NestingSettings::SetPartToPartDistance ( double distance)

设置零件间距离。
创建于NX2007.0.0。

许可证要求:nx_2d_nesting("NX 2D排样")

参数
distance距离

◆ SetRemnantFolderLocation() [1/2]

void NXOpen::NestingSettings::SetRemnantFolderLocation ( const char * folderPath)

设置余料文件夹的完整路径。
创建于NX2206.0.0。

许可要求:nx_2d_nesting("NX 2D排样")

参数
folderPath文件夹路径

◆ SetRemnantFolderLocation() [2/2]

void NXOpen::NestingSettings::SetRemnantFolderLocation ( const NXString & folderPath)

设置余料文件夹的完整路径。
创建于NX2206.0.0。

许可要求:nx_2d_nesting("NX 2D排样")

参数
folderPath文件夹路径

◆ SetRemnantMinArea()

void NXOpen::NestingSettings::SetRemnantMinArea ( double minArea)

设置余料的最小面积。
创建于NX2206.0.0。

许可要求:nx_2d_nesting("NX 2D排样")

参数
minArea最小面积

◆ SetRemnantMinDimension()

void NXOpen::NestingSettings::SetRemnantMinDimension ( double minDimension)

设置余料的最小尺寸。
创建于NX2206.0.0。

许可要求:nx_2d_nesting("NX 2D排样")

参数
minDimension最小尺寸

◆ SetRightEdgeToPartDistance()

void NXOpen::NestingSettings::SetRightEdgeToPartDistance ( double rightEdgeToPartDistance)

设置右侧的零件到边缘距离。
创建于NX2212.0.0。

许可证要求:nx_2d_nesting("NX 2D排样")

参数
rightEdgeToPartDistance右侧零件到边缘距离

◆ SetStandardStockFilePath() [1/2]

void NXOpen::NestingSettings::SetStandardStockFilePath ( const char * filePath)

设置标准板材文件的完整路径。若已添加的板材中有引用现有文件的情况,此路径不会改变。
创建于NX2007.0.0。

许可要求:nx_2d_nesting("NX 2D排样")

参数
filePath文件路径

◆ SetStandardStockFilePath() [2/2]

void NXOpen::NestingSettings::SetStandardStockFilePath ( const NXString & filePath)

设置标准板材文件的完整路径。若已添加的板材中有引用现有文件的情况,此路径不会改变。
创建于NX2007.0.0。

许可要求:nx_2d_nesting("NX 2D排样")

参数
filePath文件路径

◆ SetTopEdgeToPartDistance()

void NXOpen::NestingSettings::SetTopEdgeToPartDistance ( double topEdgeToPartDistance)

设置顶部的零件到边缘距离。
创建于NX2212.0.0。

许可证要求:nx_2d_nesting("NX 2D排样")

参数
topEdgeToPartDistance顶部零件到边缘距离

◆ StandardStockFilePath()

NXString NXOpen::NestingSettings::StandardStockFilePath ( )

获取标准板材文件的完整路径。若已添加的板材中有引用现有文件的情况,此路径不会改变。
创建于NX2007.0.0。

许可要求:无

◆ TopEdgeToPartDistance()

double NXOpen::NestingSettings::TopEdgeToPartDistance ( )

获取顶部的零件到边缘距离。
创建于NX2212.0.0。

许可证要求:无