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

This class is used to specify knowledge fusion rules in a drawing template. More...

Inheritance diagram for NXOpen::Drafting::RulesBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Member Functions

NXString DimensionRule ()
 Returns the dimension rule
Created in NX8.0.0. More...
 
NXString NoteRule ()
 Returns the note rule
Created in NX8.0.0. More...
 
void SetDimensionRule (const NXString &dimensionRule)
 Sets the dimension rule
Created in NX8.0.0. More...
 
void SetDimensionRule (const char *dimensionRule)
 Sets the dimension rule
Created in NX8.0.0. More...
 
void SetNoteRule (const NXString &noteRule)
 Sets the note rule
Created in NX8.0.0. More...
 
void SetNoteRule (const char *noteRule)
 Sets the note rule
Created in NX8.0.0. More...
 
void SetSymbolRule (const NXString &symbolRule)
 Sets the symbol rule
Created in NX8.0.0. More...
 
void SetSymbolRule (const char *symbolRule)
 Sets the symbol rule
Created in NX8.0.0. More...
 
NXString SymbolRule ()
 Returns the symbol rule
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

This class is used to specify knowledge fusion rules in a drawing template.

The rules are executed when the template is instantiated.
To create a new instance of this class, use NXOpen::Drafting::AutomationManager::CreateRulesBuilder

Created in NX8.0.0.

Member Function Documentation

NXString NXOpen::Drafting::RulesBuilder::DimensionRule ( )

Returns the dimension rule
Created in NX8.0.0.



License requirements : None

NXString NXOpen::Drafting::RulesBuilder::NoteRule ( )

Returns the note rule
Created in NX8.0.0.



License requirements : None

void NXOpen::Drafting::RulesBuilder::SetDimensionRule ( const NXString dimensionRule)

Sets the dimension rule
Created in NX8.0.0.



License requirements : nx_drawing_auto ("NX Drawing Automation")

Parameters
dimensionRuledimensionrule
void NXOpen::Drafting::RulesBuilder::SetDimensionRule ( const char *  dimensionRule)

Sets the dimension rule
Created in NX8.0.0.



License requirements : nx_drawing_auto ("NX Drawing Automation")

Parameters
dimensionRuledimensionrule
void NXOpen::Drafting::RulesBuilder::SetNoteRule ( const NXString noteRule)

Sets the note rule
Created in NX8.0.0.



License requirements : nx_drawing_auto ("NX Drawing Automation")

Parameters
noteRulenoterule
void NXOpen::Drafting::RulesBuilder::SetNoteRule ( const char *  noteRule)

Sets the note rule
Created in NX8.0.0.



License requirements : nx_drawing_auto ("NX Drawing Automation")

Parameters
noteRulenoterule
void NXOpen::Drafting::RulesBuilder::SetSymbolRule ( const NXString symbolRule)

Sets the symbol rule
Created in NX8.0.0.



License requirements : nx_drawing_auto ("NX Drawing Automation")

Parameters
symbolRulesymbolrule
void NXOpen::Drafting::RulesBuilder::SetSymbolRule ( const char *  symbolRule)

Sets the symbol rule
Created in NX8.0.0.



License requirements : nx_drawing_auto ("NX Drawing Automation")

Parameters
symbolRulesymbolrule
NXString NXOpen::Drafting::RulesBuilder::SymbolRule ( )

Returns the symbol rule
Created in NX8.0.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.