NXOpen C++ Reference Guide
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Types | Public Member Functions | List of all members
NXOpen::Importer3MF Class Reference

Represents a NXOpen::Importer3MF to be used when importing 3MF Data This class is created using NXOpen::DexManager . More...

Inheritance diagram for NXOpen::Importer3MF:
NXOpen::DexBuilder NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Types

enum  FacetBodyTypes { FacetBodyTypesPsm, FacetBodyTypesNx }
 These represent the type of body that will get created on importing the 3MF file. More...
 

Public Member Functions

bool Cleanup ()
 Returns the option to clean up all mesh defects on import
Created in NX12.0.1. More...
 
NXOpen::Importer3MF::FacetBodyTypes FacetBodyType ()
 Returns the facet body type
Created in NX12.0.1. More...
 
NXString InputFile ()
 Returns an input 3MF file to be imported
Created in NX12.0.1. More...
 
double MinimumAngleFoldedFacets ()
 Returns the value for minimum angle for folded facets for a 3MF file to be imported
Created in NX12.0.1. More...
 
int MinimumFacetNumber ()
 Returns the value for minimum number of facets for a 3MF file to be imported
Created in NX12.0.1. More...
 
void SetCleanup (bool cleanup)
 Sets the option to clean up all mesh defects on import
Created in NX12.0.1. More...
 
void SetFacetBodyType (NXOpen::Importer3MF::FacetBodyTypes facetBodyType)
 Sets the facet body type
Created in NX12.0.1. More...
 
void SetInputFile (const NXString &filename)
 Sets an input 3MF file to be imported
Created in NX12.0.1. More...
 
void SetInputFile (const char *filename)
 Sets an input 3MF file to be imported
Created in NX12.0.1. More...
 
void SetMinimumAngleFoldedFacets (double minimumAngleFoldedFacets)
 Sets the value for minimum angle for folded facets for a 3MF file to be imported
Created in NX12.0.1. More...
 
void SetMinimumFacetNumber (int minimumFacetNumber)
 Sets the value for minimum number of facets for a 3MF file to be imported
Created in NX12.0.1. More...
 
void SetShowInformationWindow (bool showInformationWindow)
 Sets the indicator for whether to show information window
Created in NX12.0.1. More...
 
bool ShowInformationWindow ()
 Returns the indicator for whether to show information window
Created in NX12.0.1. More...
 
- Public Member Functions inherited from NXOpen::DexBuilder
bool ProcessHoldFlag ()
 Returns the process hold flag - set to true if user wants to wait until transaltion process gets completed
Created in NX8.0.0. More...
 
void SetProcessHoldFlag (bool doingFileSave)
 Sets the process hold flag - set to true if user wants to wait until transaltion process gets completed
Created in NX8.0.0. 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

Represents a NXOpen::Importer3MF to be used when importing 3MF Data This class is created using NXOpen::DexManager .

NULL object will be returned from Commit()
To create a new instance of this class, use NXOpen::DexManager::CreateImporter3mf
Default values.

Property Value

FacetBodyType

Psm

MinimumAngleFoldedFacets

15.0

MinimumFacetNumber

100

ShowInformationWindow

False


Usable only on Windows

Created in NX12.0.1.

Member Enumeration Documentation

These represent the type of body that will get created on importing the 3MF file.

Enumerator
FacetBodyTypesPsm 

Import as Convergent Body.

FacetBodyTypesNx 

Import as NX Facet Body.

Member Function Documentation

bool NXOpen::Importer3MF::Cleanup ( )

Returns the option to clean up all mesh defects on import
Created in NX12.0.1.



License requirements : None

NXOpen::Importer3MF::FacetBodyTypes NXOpen::Importer3MF::FacetBodyType ( )

Returns the facet body type
Created in NX12.0.1.



License requirements : None

NXString NXOpen::Importer3MF::InputFile ( )

Returns an input 3MF file to be imported
Created in NX12.0.1.



License requirements : None

double NXOpen::Importer3MF::MinimumAngleFoldedFacets ( )

Returns the value for minimum angle for folded facets for a 3MF file to be imported
Created in NX12.0.1.



License requirements : None

int NXOpen::Importer3MF::MinimumFacetNumber ( )

Returns the value for minimum number of facets for a 3MF file to be imported
Created in NX12.0.1.



License requirements : None

void NXOpen::Importer3MF::SetCleanup ( bool  cleanup)

Sets the option to clean up all mesh defects on import
Created in NX12.0.1.



License requirements : nx_additive_design (" NX Additive Design")

Parameters
cleanupcleanup
void NXOpen::Importer3MF::SetFacetBodyType ( NXOpen::Importer3MF::FacetBodyTypes  facetBodyType)

Sets the facet body type
Created in NX12.0.1.



License requirements : nx_additive_design (" NX Additive Design")

Parameters
facetBodyTypefacetbodytype
void NXOpen::Importer3MF::SetInputFile ( const NXString filename)

Sets an input 3MF file to be imported
Created in NX12.0.1.



License requirements : nx_additive_design (" NX Additive Design")

Parameters
filenamefilename
void NXOpen::Importer3MF::SetInputFile ( const char *  filename)

Sets an input 3MF file to be imported
Created in NX12.0.1.



License requirements : nx_additive_design (" NX Additive Design")

Parameters
filenamefilename
void NXOpen::Importer3MF::SetMinimumAngleFoldedFacets ( double  minimumAngleFoldedFacets)

Sets the value for minimum angle for folded facets for a 3MF file to be imported
Created in NX12.0.1.



License requirements : nx_additive_design (" NX Additive Design")

Parameters
minimumAngleFoldedFacetsminimumanglefoldedfacets
void NXOpen::Importer3MF::SetMinimumFacetNumber ( int  minimumFacetNumber)

Sets the value for minimum number of facets for a 3MF file to be imported
Created in NX12.0.1.



License requirements : nx_additive_design (" NX Additive Design")

Parameters
minimumFacetNumberminimumfacetnumber
void NXOpen::Importer3MF::SetShowInformationWindow ( bool  showInformationWindow)

Sets the indicator for whether to show information window
Created in NX12.0.1.



License requirements : nx_additive_design (" NX Additive Design")

Parameters
showInformationWindowshowinformationwindow
bool NXOpen::Importer3MF::ShowInformationWindow ( )

Returns the indicator for whether to show information window
Created in NX12.0.1.



License requirements : None


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