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

IFC文件创建器 更多...

#include <IfcCreator.hxx>

类 NXOpen::IfcCreator 继承关系图:
NXOpen::BaseCreator NXOpen::DexBuilder NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public 类型

enum  ChordalToleranceMethodOptionEnum { ChordalToleranceMethodOptionEnumRelative , ChordalToleranceMethodOptionEnumAbsolute }
enum  ExportFromOption { ExportFromOptionDisplayPart , ExportFromOptionExistingPart }
enum  IfcFormatEnum { IfcFormatEnumIFC2x3 , IfcFormatEnumIfc4 }
enum  IncludeOrExcludeAttributeCategoriesEnum { IncludeOrExcludeAttributeCategoriesEnumInclude , IncludeOrExcludeAttributeCategoriesEnumExclude }
enum  IncludeOrExcludeAttributesEnum { IncludeOrExcludeAttributesEnumInclude , IncludeOrExcludeAttributesEnumExclude }
enum  TessellationMethodOptionEnum { TessellationMethodOptionEnumLightWeightRepresentation , TessellationMethodOptionEnumSpecifyTolerances }
enum  UnitsEnum { UnitsEnumMillimeters , UnitsEnumInches , UnitsEnumMeters , UnitsEnumMicrons }
Public 类型 继承自 NXOpen::BaseCreator
enum  ExportDestinationOption { ExportDestinationOptionNativeFileSystem , ExportDestinationOptionTeamcenter }

Public 成员函数

double AngularTolerance ()
NXString AttributeCategories ()
NXString Attributes ()
double ChordalTolerance ()
NXOpen::IfcCreator::ChordalToleranceMethodOptionEnum ChordalToleranceMethodOption ()
NXOpen::IfcCreator::ExportFromOption ExportFrom ()
NXOpen::ObjectSelectorExportSelectionBlock ()
NXOpen::IfcCreator::UnitsEnum ExportUnits ()
bool ExportUserDefinedAttributes ()
bool FileSaveFlag ()
NXOpen::IfcCreator::IfcFormatEnum IfcFileFormat ()
NXOpen::IfcCreator::IncludeOrExcludeAttributeCategoriesEnum IncludeOrExcludeAttributeCategories ()
NXOpen::IfcCreator::IncludeOrExcludeAttributesEnum IncludeOrExcludeAttributes ()
NXString InputFile ()
double RelativeChordalTolerance ()
void SaveSettings (const char *filename)
void SaveSettings (const NXString &filename)
void SetAngularTolerance (double angularTolerance)
void SetAttributeCategories (const char *attributeCategories)
void SetAttributeCategories (const NXString &attributeCategories)
void SetAttributes (const char *attributes)
void SetAttributes (const NXString &attributes)
void SetChordalTolerance (double chordalTolerance)
void SetChordalToleranceMethodOption (NXOpen::IfcCreator::ChordalToleranceMethodOptionEnum chordalToleranceMethodOption)
void SetExportFrom (NXOpen::IfcCreator::ExportFromOption exportFrom)
void SetExportUnits (NXOpen::IfcCreator::UnitsEnum exportUnits)
void SetExportUserDefinedAttributes (bool exportUserDefinedAttributes)
void SetFileSaveFlag (bool fileSaveAs)
void SetIfcFileFormat (NXOpen::IfcCreator::IfcFormatEnum ifcFileFormat)
void SetIncludeOrExcludeAttributeCategories (NXOpen::IfcCreator::IncludeOrExcludeAttributeCategoriesEnum includeOrExcludeAttributeCategories)
void SetIncludeOrExcludeAttributes (NXOpen::IfcCreator::IncludeOrExcludeAttributesEnum includeOrExcludeAttributes)
void SetInputFile (const char *inputFile)
void SetInputFile (const NXString &inputFile)
void SetRelativeChordalTolerance (double relativeChordalTolerance)
void SetSettingsFile (const char *filename)
void SetSettingsFile (const NXString &filename)
void SetTessellationMethodOption (NXOpen::IfcCreator::TessellationMethodOptionEnum tessellationMethodOption)
NXString SettingsFile ()
NXOpen::IfcCreator::TessellationMethodOptionEnum TessellationMethodOption ()
Public 成员函数 继承自 NXOpen::BaseCreator
NXString DatasetName ()
NXOpen::BaseCreator::ExportDestinationOption ExportDestination ()
NXString OutputFile ()
NXString OutputFileExtension ()
void SetDatasetName (const char *datasetName)
void SetDatasetName (const NXString &datasetName)
void SetExportDestination (NXOpen::BaseCreator::ExportDestinationOption exportFrom)
void SetOutputFile (const char *filename)
void SetOutputFile (const NXString &filename)
void SetOutputFileExtension (const char *outputFileExtension)
void SetOutputFileExtension (const NXString &outputFileExtension)
Public 成员函数 继承自 NXOpen::DexBuilder
bool ProcessHoldFlag ()
void SetProcessHoldFlag (bool doingFileSave)
Public 成员函数 继承自 NXOpen::Builder
NXOpen::NXObjectCommit ()
void Destroy ()
std::vector< NXOpen::NXObject * > GetCommittedObjects ()
NXOpen::NXObjectGetObject ()
NXOpen::PreviewBuilderPreviewBuilder ()
void ShowResults ()
virtual bool Validate ()
Public 成员函数 继承自 NXOpen::TaggedObject
tag_t Tag () const

友元

class _IfcCreatorBuilder

详细描述

IFC文件创建器

表示导出IFC数据时使用的@link NXOpen::IfcCreator NXOpen::IfcCreator@endlink
该类通过@link NXOpen::DexManager NXOpen::DexManager@endlink 创建。
Commit()将返回空对象。<br>要创建该类的新实例,请使用@link NXOpen::DexManager::CreateIfcCreator NXOpen::DexManager::CreateIfcCreator @endlink <br>

默认值。

属性
AngularTolerance 18.0
ChordalTolerance 0.08(毫米单位零件),0.0031496(英寸单位零件)
ChordalToleranceMethodOption Relative
ExportUnits Millimeters
IfcFileFormat IFC2x3
IncludeOrExcludeAttributeCategories Exclude
IncludeOrExcludeAttributes Exclude
RelativeChordalTolerance 0.4
TessellationMethodOption LightWeightRepresentation


在NX1899.0.0中创建。

成员枚举类型说明

◆ ChordalToleranceMethodOptionEnum

弦公差方法

枚举值
ChordalToleranceMethodOptionEnumRelative 

相对

ChordalToleranceMethodOptionEnumAbsolute 

绝对

◆ ExportFromOption

导出源选项

枚举值
ExportFromOptionDisplayPart 

从显示零件导出数据

ExportFromOptionExistingPart 

从磁盘上的现有零件导出数据

◆ IfcFormatEnum

Ifc文件格式

枚举值
IfcFormatEnumIFC2x3 

ifc2x3

IfcFormatEnumIfc4 

ifc4

◆ IncludeOrExcludeAttributeCategoriesEnum

要排除或包含的属性类别名称

枚举值
IncludeOrExcludeAttributeCategoriesEnumInclude 

包含

IncludeOrExcludeAttributeCategoriesEnumExclude 

排除

◆ IncludeOrExcludeAttributesEnum

要排除或包含的属性名称

枚举值
IncludeOrExcludeAttributesEnumInclude 

包含

IncludeOrExcludeAttributesEnumExclude 

排除

◆ TessellationMethodOptionEnum

细分方法

枚举值
TessellationMethodOptionEnumLightWeightRepresentation 

轻量表示

TessellationMethodOptionEnumSpecifyTolerances 

指定公差

◆ UnitsEnum

IFC文件的单位。

枚举值
UnitsEnumMillimeters 

毫米

UnitsEnumInches 

英寸

UnitsEnumMeters 

UnitsEnumMicrons 

微米

成员函数说明

◆ AngularTolerance()

double NXOpen::IfcCreator::AngularTolerance ( )

返回角度公差
于 NX1899.0.0 版本创建。

许可证要求:无

◆ AttributeCategories()

NXString NXOpen::IfcCreator::AttributeCategories ( )

返回属性类别 - 要包含或排除的属性类别名称
于 NX1953.0.0 版本创建。

许可证要求:无

◆ Attributes()

NXString NXOpen::IfcCreator::Attributes ( )

获取属性 - 要包含或排除的属性名称
于 NX1980.0.0 中创建。

许可证要求:无

◆ ChordalTolerance()

double NXOpen::IfcCreator::ChordalTolerance ( )

返回弦公差
于 NX1899.0.0 版本创建。

许可证要求:无

◆ ChordalToleranceMethodOption()

NXOpen::IfcCreator::ChordalToleranceMethodOptionEnum NXOpen::IfcCreator::ChordalToleranceMethodOption ( )

返回弦公差方法 - 指示是否使用相对或绝对弦公差
于 NX2007.0.0 版本创建。

许可证要求:无

◆ ExportFrom()

NXOpen::IfcCreator::ExportFromOption NXOpen::IfcCreator::ExportFrom ( )

返回导出来源选项 - 确定导出显示部件或现有部件的数据
Created in NX1926.0.0.

License requirements : None

◆ ExportSelectionBlock()

NXOpen::ObjectSelector * NXOpen::IfcCreator::ExportSelectionBlock ( )

返回导出选择块 - 将通过该块进行对象选择
Created in NX1926.0.0.

License requirements : None

◆ ExportUnits()

NXOpen::IfcCreator::UnitsEnum NXOpen::IfcCreator::ExportUnits ( )

返回导出 IFC 文件时要转换为的单位
于 NX1899.0.0 版本创建。

许可证要求:无

◆ ExportUserDefinedAttributes()

bool NXOpen::IfcCreator::ExportUserDefinedAttributes ( )

返回导出用户定义属性 - 指示是否要导出用户定义属性
于 NX1953.0.0 版本创建。

许可证要求:无

◆ FileSaveFlag()

bool NXOpen::IfcCreator::FileSaveFlag ( )

获取文件另存为标志 - 表示文件是否通过“文件->另存为”导出
于 NX1926.0.0 中创建。

许可证要求:无

◆ IfcFileFormat()

NXOpen::IfcCreator::IfcFormatEnum NXOpen::IfcCreator::IfcFileFormat ( )

返回IFC文件格式
Created in NX1899.0.0.

License requirements : None

◆ IncludeOrExcludeAttributeCategories()

NXOpen::IfcCreator::IncludeOrExcludeAttributeCategoriesEnum NXOpen::IfcCreator::IncludeOrExcludeAttributeCategories ( )

返回包含或排除属性类别 - 指示属性类别名称列表是要包含还是排除
于 NX1953.0.0 版本创建。

许可证要求:无

◆ IncludeOrExcludeAttributes()

NXOpen::IfcCreator::IncludeOrExcludeAttributesEnum NXOpen::IfcCreator::IncludeOrExcludeAttributes ( )

获取包含或排除属性的方式 - 方法 SetAttributes 设置的属性列表是包含还是排除
于 NX1980.0.0 中创建。

许可证要求:无

◆ InputFile()

NXString NXOpen::IfcCreator::InputFile ( )

返回输入文件 - 将从该文件读取要导出的数据
Created in NX1899.0.0.

License requirements : None

◆ RelativeChordalTolerance()

double NXOpen::IfcCreator::RelativeChordalTolerance ( )

返回相对弦公差
于 NX2007.0.0 版本创建。

许可证要求:无

◆ SaveSettings() [1/2]

void NXOpen::IfcCreator::SaveSettings ( const char * filename)

保存设置 - 将设置保存到指定文件
Created in NX1926.0.0.

License requirements : None

参数
filename文件名

◆ SaveSettings() [2/2]

void NXOpen::IfcCreator::SaveSettings ( const NXString & filename)

保存设置 - 将设置保存到指定文件
Created in NX1926.0.0.

License requirements : None

参数
filename文件名

◆ SetAngularTolerance()

void NXOpen::IfcCreator::SetAngularTolerance ( double angularTolerance)

设置角度公差
于 NX1899.0.0 版本创建。

许可证要求:无

参数
angularToleranceangulartolerance

◆ SetAttributeCategories() [1/2]

void NXOpen::IfcCreator::SetAttributeCategories ( const char * attributeCategories)

设置属性类别 - 要包含或排除的属性类别名称
于 NX1953.0.0 中创建。

许可证要求:无

参数
attributeCategories属性类别

◆ SetAttributeCategories() [2/2]

void NXOpen::IfcCreator::SetAttributeCategories ( const NXString & attributeCategories)

设置属性类别 - 要包含或排除的属性类别名称
于 NX1953.0.0 版本创建。

许可证要求:无

参数
attributeCategoriesattributecategories

◆ SetAttributes() [1/2]

void NXOpen::IfcCreator::SetAttributes ( const char * attributes)

设置属性 - 要包含或排除的属性名称
于 NX1980.0.0 中创建。

许可证要求:无

参数
attributes属性

◆ SetAttributes() [2/2]

void NXOpen::IfcCreator::SetAttributes ( const NXString & attributes)

设置属性 - 要包含或排除的属性名称
于 NX1980.0.0 中创建。

许可证要求:无

参数
attributes属性

◆ SetChordalTolerance()

void NXOpen::IfcCreator::SetChordalTolerance ( double chordalTolerance)

设置弦公差
于 NX1899.0.0 版本创建。

许可证要求:无

参数
chordalTolerancechordaltolerance

◆ SetChordalToleranceMethodOption()

void NXOpen::IfcCreator::SetChordalToleranceMethodOption ( NXOpen::IfcCreator::ChordalToleranceMethodOptionEnum chordalToleranceMethodOption)

设置弦公差方法 - 指示是否使用相对或绝对弦公差
于 NX2007.0.0 版本创建。

许可证要求:无

参数
chordalToleranceMethodOptionchordaltolerancemethodoption

◆ SetExportFrom()

void NXOpen::IfcCreator::SetExportFrom ( NXOpen::IfcCreator::ExportFromOption exportFrom)

设置导出来源选项 - 确定导出显示部件或现有部件的数据
Created in NX1926.0.0.

License requirements : None

参数
exportFrom导出来源

◆ SetExportUnits()

void NXOpen::IfcCreator::SetExportUnits ( NXOpen::IfcCreator::UnitsEnum exportUnits)

设置导出 IFC 文件时要转换为的单位
于 NX1899.0.0 版本创建。

许可证要求:无

参数
exportUnitsexportunits

◆ SetExportUserDefinedAttributes()

void NXOpen::IfcCreator::SetExportUserDefinedAttributes ( bool exportUserDefinedAttributes)

设置导出用户定义属性 - 指示是否要导出用户定义属性
于 NX1953.0.0 版本创建。

许可证要求:无

参数
exportUserDefinedAttributesexportuserdefinedattributes

◆ SetFileSaveFlag()

void NXOpen::IfcCreator::SetFileSaveFlag ( bool fileSaveAs)

设置文件另存为标志 - 表示文件是否通过“文件->另存为”导出
于 NX1926.0.0 中创建。

许可证要求:无

参数
fileSaveAs文件另存为

◆ SetIfcFileFormat()

void NXOpen::IfcCreator::SetIfcFileFormat ( NXOpen::IfcCreator::IfcFormatEnum ifcFileFormat)

设置IFC文件格式
Created in NX1899.0.0.

License requirements : None

参数
ifcFileFormatIFC文件格式

◆ SetIncludeOrExcludeAttributeCategories()

void NXOpen::IfcCreator::SetIncludeOrExcludeAttributeCategories ( NXOpen::IfcCreator::IncludeOrExcludeAttributeCategoriesEnum includeOrExcludeAttributeCategories)

设置包含或排除属性类别 - 指示属性类别名称列表是要包含还是排除
于 NX1953.0.0 版本创建。

许可证要求:无

参数
includeOrExcludeAttributeCategoriesincludeorexcludeattributecategories

◆ SetIncludeOrExcludeAttributes()

void NXOpen::IfcCreator::SetIncludeOrExcludeAttributes ( NXOpen::IfcCreator::IncludeOrExcludeAttributesEnum includeOrExcludeAttributes)

设置包含或排除属性的方式 - 方法 SetAttributes 设置的属性列表是包含还是排除
于 NX1980.0.0 中创建。

许可证要求:无

参数
includeOrExcludeAttributes包含或排除属性的方式

◆ SetInputFile() [1/2]

void NXOpen::IfcCreator::SetInputFile ( const char * inputFile)

设置输入文件 - 将从该文件读取要导出的数据
Created in NX1899.0.0.

License requirements : None

参数
inputFile输入文件

◆ SetInputFile() [2/2]

void NXOpen::IfcCreator::SetInputFile ( const NXString & inputFile)

设置输入文件 - 将从该文件读取要导出的数据
Created in NX1899.0.0.

License requirements : None

参数
inputFile输入文件

◆ SetRelativeChordalTolerance()

void NXOpen::IfcCreator::SetRelativeChordalTolerance ( double relativeChordalTolerance)

设置相对弦公差
于 NX2007.0.0 版本创建。

许可证要求:无

参数
relativeChordalTolerancerelativechordaltolerance

◆ SetSettingsFile() [1/2]

void NXOpen::IfcCreator::SetSettingsFile ( const char * filename)

设置用于读取默认设置的设置文件
Created in NX1926.0.0.

License requirements : None

参数
filename文件名

◆ SetSettingsFile() [2/2]

void NXOpen::IfcCreator::SetSettingsFile ( const NXString & filename)

设置用于读取默认设置的设置文件
Created in NX1926.0.0.

License requirements : None

参数
filename文件名

◆ SetTessellationMethodOption()

void NXOpen::IfcCreator::SetTessellationMethodOption ( NXOpen::IfcCreator::TessellationMethodOptionEnum tessellationMethodOption)

设置细分方法 - 指示使用NX轻量化表示还是指定公差
Created in NX2007.0.0.

License requirements : None

参数
tessellationMethodOption细分方法选项

◆ SettingsFile()

NXString NXOpen::IfcCreator::SettingsFile ( )

返回用于读取默认设置的设置文件
Created in NX1926.0.0.

License requirements : None

◆ TessellationMethodOption()

NXOpen::IfcCreator::TessellationMethodOptionEnum NXOpen::IfcCreator::TessellationMethodOption ( )

返回细分方法 - 指示使用NX轻量化表示还是指定公差
Created in NX2007.0.0.

License requirements : None