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

This class contains methods to create and manage parts in NX Manager mode. More...

Public Member Functions

NXOpen::PDM::CaeCloneManagerGetCaeCloneManager (NXOpen::BasePart *part)
 Create or get a Clone Manager that can execute a CAE Clone process for a Simulation File or a FeModel File. More...
 
NXOpen::PDM::PartFromPartBuilderNewPartFromPartBuilder ()
 Create an instance of a part builder that creates a new part from an existing part. More...
 
NXOpen::PDM::PartFromTemplateBuilderNewPartFromTemplateBuilder ()
 Create an instance of a part builder that creates a new part from a template part. More...
 
NXOpen::PDM::PendingComponentsManagerNewPendingComponentsManager (NXOpen::BasePart *part)
 Creates a pending component manager for a given part. More...
 
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

This class contains methods to create and manage parts in NX Manager mode.


Use NXOpen::PartCollection::PDMPartManager to get the instance of this class.

Created in NX4.0.0.

Member Function Documentation

NXOpen::PDM::CaeCloneManager* NXOpen::PDM::PartManager::GetCaeCloneManager ( NXOpen::BasePart part)

Create or get a Clone Manager that can execute a CAE Clone process for a Simulation File or a FeModel File.

Creates a Clone Manager for a Simulation tag or a FeModel tag, if it does not already exist. Creates part from part builder NXOpen::PDM::PartFromPartBuilder objects for cloning a Simulation File or a FeModel File. If called for a FeModel tag, the function will create Part Builders for FeModel Part , associated Idealized Part and CAD master part. If called for a Simulation tag, the function will create Part Builders for Simulation Part, associated FeModel Part, Idealized Part and CAD master part.

Returns
the clone manager
Created in NX9.0.0.

License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
Parameters
partthe part
NXOpen::PDM::PartFromPartBuilder* NXOpen::PDM::PartManager::NewPartFromPartBuilder ( )

Create an instance of a part builder that creates a new part from an existing part.

This is analagous to a File SaveAs operation in NX Manager mode.


This method will throw an error if the session is not running in NX Manager mode.


NXOpen::PDM::PartFromTemplateBuilder is a singleton meaning only one instance of it can exist at one time. Calling this method will destroy the builder if one already exists and return a new instance.


Deprecated in NX10 for "Save As of master parts" operation. This should only be used in case of Save As Non Master parts and Save As New Item Type Operations. For Save As of master parts, use NXOpen::PDM::PartOperationCopyBuilder instead.

Returns
the part builder
Created in NX4.0.0.

License requirements : None
NXOpen::PDM::PartFromTemplateBuilder* NXOpen::PDM::PartManager::NewPartFromTemplateBuilder ( )

Create an instance of a part builder that creates a new part from a template part.

This is analagous to a File New operation in NX Manager mode.


This method will throw an error if the session is not running in NX Manager mode.


NXOpen::PDM::PartFromTemplateBuilder is a singleton meaning only one instance of it can exist at one time. Calling this method will destroy the builder if one already exists and return a new instance.

Returns
the part builder
Deprecated:
Deprecated in NX10.0.0. Use NXOpen::PDM::PartOperationCreateBuilder instead.


Created in NX4.0.0.

License requirements : None

NXOpen::PDM::PendingComponentsManager* NXOpen::PDM::PartManager::NewPendingComponentsManager ( NXOpen::BasePart part)

Creates a pending component manager for a given part.

Pending components are ones that have been added from Teamcenter, but are not yet present in NX.

Returns

Created in NX4.0.0.

License requirements : None
Parameters
partthe part
tag_t NXOpen::PDM::PartManager::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.