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

This class is used to specify knowledge fusion rule for a note object in a drawing template. More...

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

Public Member Functions

NXOpen::Annotations::NoteNote ()
 Returns the note to add rule to
Created in NX8.0.0. More...
 
NXString Rule ()
 Returns the rule
Created in NX8.0.0. More...
 
void SetNote (NXOpen::Annotations::Note *note)
 Sets the note to add rule to
Created in NX8.0.0. More...
 
void SetRule (const NXString &rule)
 Sets the rule
Created in NX8.0.0. More...
 
void SetRule (const char *rule)
 Sets the 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 rule for a note object in a drawing template.

The rule is stored on the note and is executed when the template is instantiated.
To create a new instance of this class, use NXOpen::Drafting::AutomationManager::CreateSpecifyRuleBuilder

Created in NX8.0.0.

Member Function Documentation

NXOpen::Annotations::Note* NXOpen::Drafting::SpecifyRuleBuilder::Note ( )

Returns the note to add rule to
Created in NX8.0.0.



License requirements : None

NXString NXOpen::Drafting::SpecifyRuleBuilder::Rule ( )

Returns the rule
Created in NX8.0.0.



License requirements : None

void NXOpen::Drafting::SpecifyRuleBuilder::SetNote ( NXOpen::Annotations::Note note)

Sets the note to add rule to
Created in NX8.0.0.



License requirements : nx_drawing_auto ("NX Drawing Automation")

Parameters
noteNote object
void NXOpen::Drafting::SpecifyRuleBuilder::SetRule ( const NXString rule)

Sets the rule
Created in NX8.0.0.



License requirements : nx_drawing_auto ("NX Drawing Automation")

Parameters
rulerule
void NXOpen::Drafting::SpecifyRuleBuilder::SetRule ( const char *  rule)

Sets the rule
Created in NX8.0.0.



License requirements : nx_drawing_auto ("NX Drawing Automation")

Parameters
rulerule

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