NX Open C++ Reference Guide
Public Member Functions | List of all members
NXOpen::CGMImporter Class Reference

Used to import a CGM file into the work part. More...

Inheritance diagram for NXOpen::CGMImporter:
NXOpen::Importer NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Member Functions

bool Crosshatching ()
 Returns the crosshatching flag, true if crosshatching should be done. More...
 
void SetCrosshatching (bool crosshatching)
 Sets the crosshatching flag, true if crosshatching should be done. More...
 
void SetUseExportSessionWidths (bool useCgmExportSessionWidths)
 Sets
Created in NX8.5.0. More...
 
bool UseExportSessionWidths ()
 Returns
Created in NX8.5.0. More...
 
- Public Member Functions inherited from NXOpen::Importer
NXString FileName ()
 Returns the name of the file containing the data to import. More...
 
void SetFileName (const NXString &fileName)
 Sets the name of the file containing the data to import. More...
 
void SetFileName (const char *fileName)
 Sets the name of the file containing the data to import. More...
 
- Public Member Functions inherited from NXOpen::Builder
NXOpen::NXObjectCommit ()
 Commits any edits that have been applied to the builder. More...
 
void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
std::vector< NXOpen::NXObject * > GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
NXOpen::NXObjectGetObject ()
 Returns the object currently being edited by this builder. More...
 
void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Used to import a CGM file into the work part.


To obtain an instance of this class use ImportManager::CreateCgmImporter .

Created in NX7.5.0.

Member Function Documentation

bool NXOpen::CGMImporter::Crosshatching ( )

Returns the crosshatching flag, true if crosshatching should be done.


Created in NX7.5.0.

License requirements : None

void NXOpen::CGMImporter::SetCrosshatching ( bool  crosshatching)

Sets the crosshatching flag, true if crosshatching should be done.


Created in NX7.5.0.

License requirements : None

Parameters
crosshatchingcrosshatching
void NXOpen::CGMImporter::SetUseExportSessionWidths ( bool  useCgmExportSessionWidths)

Sets
Created in NX8.5.0.



License requirements : None

Parameters
useCgmExportSessionWidthsuse cgm export session widths
bool NXOpen::CGMImporter::UseExportSessionWidths ( )

Returns
Created in NX8.5.0.



License requirements : None


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.