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

Builder for Face Annotation functionality used in formboard. More...

Inheritance diagram for NXOpen::Formboard::FaceAnnotationBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Types

enum  DrwDestination { DrwDestinationDrawingSheet, DrwDestinationModel }
 Enum which defines where the geometry is to be placed. More...
 
enum  Types { TypesComponentAttribute, TypesCgmFileSelection, TypesPatternFileSelection }
 Enum which defines the type to import CGM/Pattern file. More...
 

Public Member Functions

NXString CgmflBrsr ()
 Returns the browser which enables selection of CGM file when Formboard::FaceAnnotationBuilder::Types is Formboard::FaceAnnotationBuilder::TypesCgmFileSelection . More...
 
NXOpen::SelectNXObjectCompSel ()
 Returns the user selected component which has a CGM_FILE or PATTERN_FILE attribute defined. More...
 
NXOpen::Formboard::FaceAnnotationBuilder::DrwDestination DestEnum ()
 Returns the NXOpen::Formboard::FaceAnnotationBuilder::DrwDestination selected by user to place the geometry
Created in NX7.5.0. More...
 
NXOpen::PointPntOrigin ()
 Returns the user selected point where geometry will be placed
Created in NX7.5.0. More...
 
void SetCgmflBrsr (const NXString &filename)
 Sets the browser which enables selection of CGM file when Formboard::FaceAnnotationBuilder::Types is Formboard::FaceAnnotationBuilder::TypesCgmFileSelection . More...
 
void SetCgmflBrsr (const char *filename)
 Sets the browser which enables selection of CGM file when Formboard::FaceAnnotationBuilder::Types is Formboard::FaceAnnotationBuilder::TypesCgmFileSelection . More...
 
void SetDestEnum (NXOpen::Formboard::FaceAnnotationBuilder::DrwDestination destEnum)
 Sets the NXOpen::Formboard::FaceAnnotationBuilder::DrwDestination selected by user to place the geometry
Created in NX7.5.0. More...
 
void SetPntOrigin (NXOpen::Point *pntOrigin)
 Sets the user selected point where geometry will be placed
Created in NX7.5.0. More...
 
void SetStrAnnot (const NXString &strAnnot)
 Sets the string to display the name of Pattern file name selected by user. More...
 
void SetStrAnnot (const char *strAnnot)
 Sets the string to display the name of Pattern file name selected by user. More...
 
void SetStrAnnotFileName (const NXString &strAnnot)
 Sets the string to display the name of CGM name selected by user. More...
 
void SetStrAnnotFileName (const char *strAnnot)
 Sets the string to display the name of CGM name selected by user. More...
 
void SetTogBlank (bool togBlank)
 Sets the toggle which defines whether the selected component is to be blanked or not
Created in NX7.5.0. More...
 
void SetType (NXOpen::Formboard::FaceAnnotationBuilder::Types type)
 Sets the NXOpen::Formboard::FaceAnnotationBuilder::Types selected by user
Created in NX7.5.0. More...
 
NXString StrAnnot ()
 Returns the string to display the name of Pattern file name selected by user. More...
 
NXString StrAnnotFileName ()
 Returns the string to display the name of CGM name selected by user. More...
 
bool TogBlank ()
 Returns the toggle which defines whether the selected component is to be blanked or not
Created in NX7.5.0. More...
 
NXOpen::Formboard::FaceAnnotationBuilder::Types Type ()
 Returns the NXOpen::Formboard::FaceAnnotationBuilder::Types selected by user
Created in NX7.5.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

Builder for Face Annotation functionality used in formboard.

It allows importing CGM or Pattern file geometry and placing it on a drawing sheet or model view. As a result of this a group of dumb geometry is placed such that defined origin is located at the lower left hand of the bounding box containing the group of geometry.
To create a new instance of this class, use NXOpen::Formboard::FormboardManager::CreateFaceAnnotationBuilder
Default values.

Property Value

DestEnum

DrawingSheet

TogBlank

0


Created in NX7.5.0.

Member Enumeration Documentation

Enum which defines where the geometry is to be placed.

The geometry can be placed either in model or drawing sheet.

Enumerator
DrwDestinationDrawingSheet 

Place geometry in drawing sheet.

DrwDestinationModel 

Place geometry in model.

Enum which defines the type to import CGM/Pattern file.

Enumerator
TypesComponentAttribute 

Import CGM file by selecting a component.

TypesCgmFileSelection 

Import CGM file by browsing a CGM file.

TypesPatternFileSelection 

Import a pattern file.

Member Function Documentation

NXString NXOpen::Formboard::FaceAnnotationBuilder::CgmflBrsr ( )

Returns the browser which enables selection of CGM file when Formboard::FaceAnnotationBuilder::Types is Formboard::FaceAnnotationBuilder::TypesCgmFileSelection .


Created in NX7.5.0.

License requirements : routing_harness ("Routing Harness")

NXOpen::SelectNXObject* NXOpen::Formboard::FaceAnnotationBuilder::CompSel ( )

Returns the user selected component which has a CGM_FILE or PATTERN_FILE attribute defined.


Created in NX7.5.0.

License requirements : routing_harness ("Routing Harness")

NXOpen::Formboard::FaceAnnotationBuilder::DrwDestination NXOpen::Formboard::FaceAnnotationBuilder::DestEnum ( )

Returns the NXOpen::Formboard::FaceAnnotationBuilder::DrwDestination selected by user to place the geometry
Created in NX7.5.0.



License requirements : routing_harness ("Routing Harness")

NXOpen::Point* NXOpen::Formboard::FaceAnnotationBuilder::PntOrigin ( )

Returns the user selected point where geometry will be placed
Created in NX7.5.0.



License requirements : routing_harness ("Routing Harness")

void NXOpen::Formboard::FaceAnnotationBuilder::SetCgmflBrsr ( const NXString filename)

Sets the browser which enables selection of CGM file when Formboard::FaceAnnotationBuilder::Types is Formboard::FaceAnnotationBuilder::TypesCgmFileSelection .


Created in NX7.5.0.

License requirements : routing_harness ("Routing Harness")

Parameters
filenamefilename
void NXOpen::Formboard::FaceAnnotationBuilder::SetCgmflBrsr ( const char *  filename)

Sets the browser which enables selection of CGM file when Formboard::FaceAnnotationBuilder::Types is Formboard::FaceAnnotationBuilder::TypesCgmFileSelection .


Created in NX7.5.0.

License requirements : routing_harness ("Routing Harness")

Parameters
filenamefilename
void NXOpen::Formboard::FaceAnnotationBuilder::SetDestEnum ( NXOpen::Formboard::FaceAnnotationBuilder::DrwDestination  destEnum)

Sets the NXOpen::Formboard::FaceAnnotationBuilder::DrwDestination selected by user to place the geometry
Created in NX7.5.0.



License requirements : routing_harness ("Routing Harness")

Parameters
destEnumdestenum
void NXOpen::Formboard::FaceAnnotationBuilder::SetPntOrigin ( NXOpen::Point pntOrigin)

Sets the user selected point where geometry will be placed
Created in NX7.5.0.



License requirements : routing_harness ("Routing Harness")

Parameters
pntOriginpntorigin
void NXOpen::Formboard::FaceAnnotationBuilder::SetStrAnnot ( const NXString strAnnot)

Sets the string to display the name of Pattern file name selected by user.


Created in NX7.5.0.

License requirements : routing_harness ("Routing Harness")

Parameters
strAnnotstrannot
void NXOpen::Formboard::FaceAnnotationBuilder::SetStrAnnot ( const char *  strAnnot)

Sets the string to display the name of Pattern file name selected by user.


Created in NX7.5.0.

License requirements : routing_harness ("Routing Harness")

Parameters
strAnnotstrannot
void NXOpen::Formboard::FaceAnnotationBuilder::SetStrAnnotFileName ( const NXString strAnnot)

Sets the string to display the name of CGM name selected by user.


Created in NX7.5.0.

License requirements : routing_harness ("Routing Harness")

Parameters
strAnnotstrannot
void NXOpen::Formboard::FaceAnnotationBuilder::SetStrAnnotFileName ( const char *  strAnnot)

Sets the string to display the name of CGM name selected by user.


Created in NX7.5.0.

License requirements : routing_harness ("Routing Harness")

Parameters
strAnnotstrannot
void NXOpen::Formboard::FaceAnnotationBuilder::SetTogBlank ( bool  togBlank)

Sets the toggle which defines whether the selected component is to be blanked or not
Created in NX7.5.0.



License requirements : routing_harness ("Routing Harness")

Parameters
togBlanktogblank
void NXOpen::Formboard::FaceAnnotationBuilder::SetType ( NXOpen::Formboard::FaceAnnotationBuilder::Types  type)

Sets the NXOpen::Formboard::FaceAnnotationBuilder::Types selected by user
Created in NX7.5.0.



License requirements : routing_harness ("Routing Harness")

Parameters
typetype
NXString NXOpen::Formboard::FaceAnnotationBuilder::StrAnnot ( )

Returns the string to display the name of Pattern file name selected by user.


Created in NX7.5.0.

License requirements : routing_harness ("Routing Harness")

NXString NXOpen::Formboard::FaceAnnotationBuilder::StrAnnotFileName ( )

Returns the string to display the name of CGM name selected by user.


Created in NX7.5.0.

License requirements : routing_harness ("Routing Harness")

bool NXOpen::Formboard::FaceAnnotationBuilder::TogBlank ( )

Returns the toggle which defines whether the selected component is to be blanked or not
Created in NX7.5.0.



License requirements : routing_harness ("Routing Harness")

NXOpen::Formboard::FaceAnnotationBuilder::Types NXOpen::Formboard::FaceAnnotationBuilder::Type ( )

Returns the NXOpen::Formboard::FaceAnnotationBuilder::Types selected by user
Created in NX7.5.0.



License requirements : routing_harness ("Routing Harness")


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