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

Provides methods for managing constraints NXOpen::CAE::SimConstraint in a sim part. More...

Inheritance diagram for NXOpen::CAE::SimConstraintCollection:
NXOpen::TaggedObjectCollection

Classes

class  iterator
 Iterator for accessing the contents of the collection. More...
 

Public Member Functions

iterator begin ()
 Returns an iterator addressing the first element. More...
 
NXOpen::CAE::SimConstraintCreateConstraint (const NXString &descriptorName, const NXString &name)
 Creates a Constraint for the constraint descriptor passed. More...
 
NXOpen::CAE::SimConstraintCreateConstraint (const char *descriptorName, const char *name)
 Creates a Constraint for the constraint descriptor passed. More...
 
iterator end ()
 Returns an iterator addressing one past the last element. More...
 
NXOpen::CAE::SimConstraintFindObject (const NXString &journalIdentifier)
 Finds the NXOpen::CAE::SimConstraint with the given identifier as recorded in a journal. More...
 
NXOpen::CAE::SimConstraintFindObject (const char *journalIdentifier)
 Finds the NXOpen::CAE::SimConstraint with the given identifier as recorded in a journal. More...
 
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Provides methods for managing constraints NXOpen::CAE::SimConstraint in a sim part.


To obtain an instance of this class, refer to NXOpen::CAE::SimSimulation

Created in NX4.0.0.

Member Function Documentation

iterator NXOpen::CAE::SimConstraintCollection::begin ( )

Returns an iterator addressing the first element.

NXOpen::CAE::SimConstraint* NXOpen::CAE::SimConstraintCollection::CreateConstraint ( const NXString descriptorName,
const NXString name 
)

Creates a Constraint for the constraint descriptor passed.

Returns
constraint created
Created in NX4.0.0.

License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
Parameters
descriptorNamename of the constraint descriptor
namename of the constraint to be created
NXOpen::CAE::SimConstraint* NXOpen::CAE::SimConstraintCollection::CreateConstraint ( const char *  descriptorName,
const char *  name 
)

Creates a Constraint for the constraint descriptor passed.

Returns
constraint created
Created in NX4.0.0.

License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
Parameters
descriptorNamename of the constraint descriptor
namename of the constraint to be created
iterator NXOpen::CAE::SimConstraintCollection::end ( )

Returns an iterator addressing one past the last element.

NXOpen::CAE::SimConstraint* NXOpen::CAE::SimConstraintCollection::FindObject ( const NXString journalIdentifier)

Finds the NXOpen::CAE::SimConstraint with the given identifier as recorded in a journal.

An exception will be thrown if no object can be found with the given journal identifier.

Returns
constraint found
Created in NX4.0.0.

License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
Parameters
journalIdentifierIdentifier to be found
NXOpen::CAE::SimConstraint* NXOpen::CAE::SimConstraintCollection::FindObject ( const char *  journalIdentifier)

Finds the NXOpen::CAE::SimConstraint with the given identifier as recorded in a journal.

An exception will be thrown if no object can be found with the given journal identifier.

Returns
constraint found
Created in NX4.0.0.

License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
Parameters
journalIdentifierIdentifier to be found
tag_t NXOpen::CAE::SimConstraintCollection::Tag ( ) const

Returns the tag of this object.


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