NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Types | Public Member Functions | Properties | List of all members
NXOpen.Tooling.StandardPartBuilder Class Reference

Represents a builder to be used to create Mold Wizard Standard Part. More...

Inheritance diagram for NXOpen.Tooling.StandardPartBuilder:
NXOpen.Builder NXOpen.TaggedObject NXOpen.GeometricUtilities.IComponentBuilder NXOpen.Utilities.NXRemotableObject IMessageSink

Public Types

enum  EditType { AddInstance, NewComponent, Modify }
 Represents the type to edit a standard part. More...
 
enum  RefsetName { True, False, EntirePart }
 Represents the reference set of the standard part when it is added to the assembly. More...
 

Public Member Functions

unsafe void AddConceptObjectsQuietly (string positionMethod, NXOpen.Tooling.ConceptStandardPartRecord conceptRecord)
 Adds concept symbols or points quietly. More...
 
unsafe
NXOpen.Assemblies.Component[] 
AddStandardPartsToPattern (NXOpen.Part patternPart, string fileName, string refsetName, string instanceName)
 Adds standard parts to a parent which contains pattern points. More...
 
unsafe void ChangeReferenceSet (NXOpen.Assemblies.Component component, bool addToExtraRefset, string refsetName)
 Changes the current reference set of the specified component. More...
 
unsafe void EditConceptSymbols (NXOpen.Tooling.ConceptStandardPartRecord conceptRecord, NXOpen.NXObject[] entities)
 Edits the dimension of concept symbols. More...
 
unsafe void EditDataBase ()
 Edits the data file of the standard item selected in Reuse Member View More...
 
unsafe void EditRegister ()
 Edits the registering spread sheet file of the standard item selected in Reuse Member View. More...
 
unsafe void EditStandardPartDimensions (NXOpen.Assemblies.Component component)
 Edits standard part dimensions. More...
 
unsafe void Flip ()
 Flips the selected standard part component. More...
 
unsafe void FlipComponent (NXOpen.Assemblies.Component component)
 Flips the selected standard part More...
 
unsafe NXOpen.Assemblies.Component GetAddedStandardPartOccurrenceItem (int partOccIndex)
 Gets an object in m_addedStandardPartOccs More...
 
unsafe int GetAddedStandardPartOccurrencesNumber ()
 Gets number of objects saved in m_addedStandardPartOccs More...
 
unsafe
NXOpen.Tooling.SpreadsheetData 
GetSpreadsheetData ()
 Gets standard part spread sheet data More...
 
unsafe
NXOpen.Tooling.StandardPartData 
GetStandardPartClientData ()
 Gets standard part client data More...
 
unsafe void Help ()
 Ask help of the selected standard part component. More...
 
unsafe void InsertAddedStandardPartOccsItem (NXOpen.Assemblies.Component component)
 Inserts an object to m_addedStandardPartOccs More...
 
unsafe void PerformPostProcessToAddedStandardPart (NXOpen.Assemblies.Component component)
 Performs post process to the newly added standard part. More...
 
unsafe void ReadStandardPartClientDataFromLibrary (bool isFromMemberView, int dataType, string libName, string libPath)
 Reads data from the library with given name and path. More...
 
unsafe void RecommendMoldBasePlateHeight ()
 Recommends A,B and C plate height of mold base according to layout dimension More...
 
unsafe void RecommendMoldBaseSize ()
 Recommends mold base size according to layout dimension More...
 
unsafe void RemoveComponent ()
 Removes the selected standard part component. More...
 
unsafe void RemoveComponent (NXOpen.Assemblies.Component component)
 Removes the specified standard part component from the current Mold Wizard assembly More...
 
unsafe void RemoveMoldBase (NXOpen.Assemblies.Component component)
 Removes the specified mold base from the current Mold Wizard assembly More...
 
unsafe void Reposition ()
 Repositions the selected standard part component. More...
 
unsafe void ResetStandardPartClientData (int dataType, string libName, string libPath)
 Resets client data with specified library. More...
 
unsafe void ResetStandardPartClientDataWithLibraryName (string libName)
 Resets client data with named library. More...
 
unsafe void RotateMoldBase (NXOpen.Assemblies.Component component, double angle)
 Rotates the specified mold base with given angle More...
 
unsafe void SetIsToAddNewMoldBase (bool isAddMoldBase)
 Sets the flag whether a new mold base is to be added More...
 
unsafe void SetSpreadsheetData (NXOpen.Tooling.SpreadsheetData sheetData)
 Sets standard part spread sheet data. More...
 
unsafe void SetStandardPartClientData (NXOpen.Tooling.StandardPartData standardClientData)
 Sets standard part client data. More...
 
unsafe void UpdateConceptMoldBaseExpressions (NXOpen.Part conceptMoldBasePart)
 Updates expressions of the specified concept mold base More...
 
unsafe void UpdateSpreadsheetDataWithObject (NXOpen.NXObject objectWithParameters, bool isConcpetObject, NXOpen.Tooling.SpreadsheetData sheetData)
 Updates standard part spread sheet data by reading parameter values from a part, point or symbol. More...
 
- Public Member Functions inherited from NXOpen.Builder
unsafe NXOpen.NXObject Commit ()
 Commits any edits that have been applied to the builder. More...
 
unsafe void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
unsafe NXOpen.NXObject[] GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
unsafe NXOpen.NXObject GetObject ()
 Returns the object currently being edited by this builder. More...
 
unsafe void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
unsafe bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen.TaggedObject
void PrintTestData (String variableName)
 <exclude> More...
 
void PrintTestData (String variableName, int lineNumber)
 <exclude> More...
 
override string ToString ()
 Returns a String that represents the current Object. More...
 
- Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject
IMessageCtrl AsyncProcessMessage (IMessage msg, IMessageSink replySink)
 Asynchronously processes the given message. More...
 
IMessage SyncProcessMessage (IMessage msg)
 Synchronously processes the given message. More...
 

Properties

unsafe bool AssociativePosition [get, set]
 Returns or sets the flag to indicate whether to use the associative position method. More...
 
unsafe bool CompPattern [get, set]
 Returns or sets the flag to indicate whether to use use pattern component to position a standard part. More...
 
unsafe bool ConceptDesign [get, set]
 Returns or sets the flag to indicate whether to add concept symbols instead of real standard parts. More...
 
unsafe NXOpen.SelectNXObject PointPattern [get]
 Returns the point pattern used to control how to standard parts. More...
 
unsafe NXOpen.SelectNXObject PositioningPlane [get]
 Returns the positioning plane used to position a standard part. More...
 
unsafe
NXOpen.Tooling.StandardPartBuilder.RefsetName 
ReferenceSet [get, set]
 Returns or sets the reference set currently used to add a new component to an assembly. More...
 
unsafe bool RenameComponents [get, set]
 Returns or sets the flag to indicate whether to bring up the Part Name Management dialog. More...
 
unsafe bool ShowInfoWindow [get, set]
 Returns or sets the flag to indicate whether to show the Information Window. More...
 
unsafe NXOpen.SelectNXObject StandardPartComponent [get]
 Returns the standard part component which is selected to be edited. More...
 
unsafe
NXOpen.Tooling.StandardPartBuilder.EditType 
StandardPartEditType [get, set]
 Returns or sets the standard part edit type of processing the selected component. More...
 
- Properties inherited from NXOpen.Builder
unsafe NXOpen.PreviewBuilder PreviewBuilder [get]
 Returns the preview builder subobject. More...
 
- Properties inherited from NXOpen.TaggedObject
Tag Tag [get]
 Returns the tag of this object. More...
 
- Properties inherited from NXOpen.Utilities.NXRemotableObject
IMessageSink NextSink [get]
 Gets the next message sink in the sink chain. More...
 

Additional Inherited Members

- Protected Member Functions inherited from NXOpen.TaggedObject
new void initialize ()
 <exclude> More...
 

Detailed Description

Represents a builder to be used to create Mold Wizard Standard Part.

To create a new instance of this class, use NXOpen.Tooling.StandardPartCollection.CreateStandardPartBuilder

Default values.

Property Value

AssociativePosition

0

ConceptDesign

0

ReferenceSet

True

RenameComponents

0

ShowInfoWindow

0

StandardPartEditType

AddInstance

Created in NX8.0.0

Member Enumeration Documentation

Represents the type to edit a standard part.

Enumerator
AddInstance 
NewComponent 
Modify 

Represents the reference set of the standard part when it is added to the assembly.

Enumerator
True 
False 
EntirePart 

Member Function Documentation

unsafe void NXOpen.Tooling.StandardPartBuilder.AddConceptObjectsQuietly ( string  positionMethod,
NXOpen.Tooling.ConceptStandardPartRecord  conceptRecord 
)
inline

Adds concept symbols or points quietly.

Created in NX12.0.2

License requirements: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

Parameters
positionMethodThe standard part positioning method
conceptRecordConcept standard part record
unsafe NXOpen.Assemblies.Component [] NXOpen.Tooling.StandardPartBuilder.AddStandardPartsToPattern ( NXOpen.Part  patternPart,
string  fileName,
string  refsetName,
string  instanceName 
)
inline

Adds standard parts to a parent which contains pattern points.

Created in NX12.0.2

License requirements: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

Parameters
patternPartThe parent part to add a component
fileNameFile name of the component to add
refsetNameNew reference set applied to the added component
instanceNameNew instance name applied to the added component
Returns
The added components
unsafe void NXOpen.Tooling.StandardPartBuilder.ChangeReferenceSet ( NXOpen.Assemblies.Component  component,
bool  addToExtraRefset,
string  refsetName 
)
inline

Changes the current reference set of the specified component.

Created in NX12.0.2

License requirements: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

Parameters
componentThe component to change reference set
addToExtraRefsetWhether to add the component to 'TRUE' and 'FALSE' reference set of its parent part
refsetNameNew reference set applied to the component
unsafe void NXOpen.Tooling.StandardPartBuilder.EditConceptSymbols ( NXOpen.Tooling.ConceptStandardPartRecord  conceptRecord,
NXOpen.NXObject[]  entities 
)
inline

Edits the dimension of concept symbols.

Created in NX12.0.2

License requirements: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

Parameters
conceptRecordConcept standard part record
entitiesEntities regarded as concept objects
unsafe void NXOpen.Tooling.StandardPartBuilder.EditDataBase ( )
inline

Edits the data file of the standard item selected in Reuse Member View

Created in NX8.0.0

License requirements: None.

unsafe void NXOpen.Tooling.StandardPartBuilder.EditRegister ( )
inline

Edits the registering spread sheet file of the standard item selected in Reuse Member View.

Created in NX8.0.0

License requirements: None.

unsafe void NXOpen.Tooling.StandardPartBuilder.EditStandardPartDimensions ( NXOpen.Assemblies.Component  component)
inline

Edits standard part dimensions.

Created in NX12.0.2

License requirements: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

Parameters
componentThe component to be edited
unsafe void NXOpen.Tooling.StandardPartBuilder.Flip ( )
inline

Flips the selected standard part component.

Created in NX8.0.0

License requirements: None.

unsafe void NXOpen.Tooling.StandardPartBuilder.FlipComponent ( NXOpen.Assemblies.Component  component)
inline

Flips the selected standard part

Created in NX12.0.2

License requirements: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

Parameters
componentThe standard part component to flip
unsafe NXOpen.Assemblies.Component NXOpen.Tooling.StandardPartBuilder.GetAddedStandardPartOccurrenceItem ( int  partOccIndex)
inline

Gets an object in m_addedStandardPartOccs

Created in NX12.0.2

License requirements: None.

Parameters
partOccIndex
Returns
unsafe int NXOpen.Tooling.StandardPartBuilder.GetAddedStandardPartOccurrencesNumber ( )
inline

Gets number of objects saved in m_addedStandardPartOccs

Created in NX12.0.2

License requirements: None.

Returns
unsafe NXOpen.Tooling.SpreadsheetData NXOpen.Tooling.StandardPartBuilder.GetSpreadsheetData ( )
inline

Gets standard part spread sheet data

Created in NX12.0.2

License requirements: None.

Returns
A NXOpen.Tooling.SpreadsheetData instance
unsafe NXOpen.Tooling.StandardPartData NXOpen.Tooling.StandardPartBuilder.GetStandardPartClientData ( )
inline

Gets standard part client data

Created in NX12.0.2

License requirements: None.

Returns
A NXOpen.Tooling.StandardPartData instance
unsafe void NXOpen.Tooling.StandardPartBuilder.Help ( )
inline

Ask help of the selected standard part component.

Created in NX8.0.0

License requirements: None.

unsafe void NXOpen.Tooling.StandardPartBuilder.InsertAddedStandardPartOccsItem ( NXOpen.Assemblies.Component  component)
inline

Inserts an object to m_addedStandardPartOccs

Created in NX12.0.2

License requirements: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

Parameters
componentThe standard part component to add to the saving list
unsafe void NXOpen.Tooling.StandardPartBuilder.PerformPostProcessToAddedStandardPart ( NXOpen.Assemblies.Component  component)
inline

Performs post process to the newly added standard part.

Created in NX12.0.2

License requirements: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

Parameters
componentThe component to be edited
unsafe void NXOpen.Tooling.StandardPartBuilder.ReadStandardPartClientDataFromLibrary ( bool  isFromMemberView,
int  dataType,
string  libName,
string  libPath 
)
inline

Reads data from the library with given name and path.

Created in NX12.0.2

License requirements: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

Parameters
isFromMemberViewTrue if an item is dragged from reuse library
dataTypeThe data type of the library
libNameLibrary name
libPathLibrary path
unsafe void NXOpen.Tooling.StandardPartBuilder.RecommendMoldBasePlateHeight ( )
inline

Recommends A,B and C plate height of mold base according to layout dimension

Created in NX12.0.2

License requirements: ug_mold_design ("UG MOLD")

unsafe void NXOpen.Tooling.StandardPartBuilder.RecommendMoldBaseSize ( )
inline

Recommends mold base size according to layout dimension

Created in NX12.0.2

License requirements: ug_mold_design ("UG MOLD")

unsafe void NXOpen.Tooling.StandardPartBuilder.RemoveComponent ( )
inline

Removes the selected standard part component.

Created in NX8.0.0

License requirements: None.

unsafe void NXOpen.Tooling.StandardPartBuilder.RemoveComponent ( NXOpen.Assemblies.Component  component)
inline

Removes the specified standard part component from the current Mold Wizard assembly

Created in NX12.0.2

License requirements: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

Parameters
componentThe standard part component to remove
unsafe void NXOpen.Tooling.StandardPartBuilder.RemoveMoldBase ( NXOpen.Assemblies.Component  component)
inline

Removes the specified mold base from the current Mold Wizard assembly

Created in NX12.0.2

License requirements: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

Parameters
componentThe mold base component to remove
unsafe void NXOpen.Tooling.StandardPartBuilder.Reposition ( )
inline

Repositions the selected standard part component.

Created in NX8.0.0

License requirements: None.

unsafe void NXOpen.Tooling.StandardPartBuilder.ResetStandardPartClientData ( int  dataType,
string  libName,
string  libPath 
)
inline

Resets client data with specified library.

Created in NX12.0.2

License requirements: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

Parameters
dataTypeThe data type of the library
libNameLibrary name
libPathLibrary path
unsafe void NXOpen.Tooling.StandardPartBuilder.ResetStandardPartClientDataWithLibraryName ( string  libName)
inline

Resets client data with named library.

Created in NX12.0.2

License requirements: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

Parameters
libNameLibrary name
unsafe void NXOpen.Tooling.StandardPartBuilder.RotateMoldBase ( NXOpen.Assemblies.Component  component,
double  angle 
)
inline

Rotates the specified mold base with given angle

Created in NX12.0.2

License requirements: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

Parameters
componentThe mold base component to rotate
angleThe input angle used to rotate the mold base
unsafe void NXOpen.Tooling.StandardPartBuilder.SetIsToAddNewMoldBase ( bool  isAddMoldBase)
inline

Sets the flag whether a new mold base is to be added

Created in NX12.0.2

License requirements: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

Parameters
isAddMoldBaseTrue if the user chooses to add a new mold base
unsafe void NXOpen.Tooling.StandardPartBuilder.SetSpreadsheetData ( NXOpen.Tooling.SpreadsheetData  sheetData)
inline

Sets standard part spread sheet data.

Created in NX12.0.2

License requirements: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

Parameters
sheetDataSpreadsheet data
unsafe void NXOpen.Tooling.StandardPartBuilder.SetStandardPartClientData ( NXOpen.Tooling.StandardPartData  standardClientData)
inline

Sets standard part client data.

Created in NX12.0.2

License requirements: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

Parameters
standardClientDataA NXOpen.Tooling.StandardPartData instance
unsafe void NXOpen.Tooling.StandardPartBuilder.UpdateConceptMoldBaseExpressions ( NXOpen.Part  conceptMoldBasePart)
inline

Updates expressions of the specified concept mold base

Created in NX12.0.2

License requirements: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

Parameters
conceptMoldBasePartThe mold base part to update expressions
unsafe void NXOpen.Tooling.StandardPartBuilder.UpdateSpreadsheetDataWithObject ( NXOpen.NXObject  objectWithParameters,
bool  isConcpetObject,
NXOpen.Tooling.SpreadsheetData  sheetData 
)
inline

Updates standard part spread sheet data by reading parameter values from a part, point or symbol.

Created in NX12.0.2

License requirements: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

Parameters
objectWithParametersThe object where parameter values to be read
isConcpetObjectTrue if the object is a concept one( a point or symbol with special attributes)
sheetDataSpreadsheet data

Property Documentation

unsafe bool NXOpen.Tooling.StandardPartBuilder.AssociativePosition
getset

Returns or sets the flag to indicate whether to use the associative position method.

Created in NX8.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.Tooling.StandardPartBuilder.CompPattern
getset

Returns or sets the flag to indicate whether to use use pattern component to position a standard part.

Created in NX12.0.2

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.Tooling.StandardPartBuilder.ConceptDesign
getset

Returns or sets the flag to indicate whether to add concept symbols instead of real standard parts.

Created in NX8.0.0

License requirements to get this property: None.

License requirements to set this property: ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

unsafe NXOpen.SelectNXObject NXOpen.Tooling.StandardPartBuilder.PointPattern
get

Returns the point pattern used to control how to standard parts.

Created in NX8.0.0

License requirements: None.

unsafe NXOpen.SelectNXObject NXOpen.Tooling.StandardPartBuilder.PositioningPlane
get

Returns the positioning plane used to position a standard part.

Created in NX8.0.0

License requirements: None.

unsafe NXOpen.Tooling.StandardPartBuilder.RefsetName NXOpen.Tooling.StandardPartBuilder.ReferenceSet
getset

Returns or sets the reference set currently used to add a new component to an assembly.

Created in NX8.0.0

License requirements to get this property: None.

License requirements to set this property: ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

unsafe bool NXOpen.Tooling.StandardPartBuilder.RenameComponents
getset

Returns or sets the flag to indicate whether to bring up the Part Name Management dialog.

Created in NX8.0.0

License requirements to get this property: None.

License requirements to set this property: ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

unsafe bool NXOpen.Tooling.StandardPartBuilder.ShowInfoWindow
getset

Returns or sets the flag to indicate whether to show the Information Window.

Created in NX8.0.0

License requirements to get this property: None.

License requirements to set this property: ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

unsafe NXOpen.SelectNXObject NXOpen.Tooling.StandardPartBuilder.StandardPartComponent
get

Returns the standard part component which is selected to be edited.

Created in NX8.0.0

License requirements: None.

unsafe NXOpen.Tooling.StandardPartBuilder.EditType NXOpen.Tooling.StandardPartBuilder.StandardPartEditType
getset

Returns or sets the standard part edit type of processing the selected component.

Created in NX8.0.0

License requirements to get this property: None.

License requirements to set this property: ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")


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