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.InitProjectBuilder Class Reference

Mold Wizard initialize project builder More...

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

Public Types

enum  ConfigurationId { Default, Orig }
 the configuration type includes default and orig More...
 
enum  MaterialId { None, Nylon }
 the material type includes None and Nylon More...
 
enum  UnitId { Millimeter, Inch }
 the unit type includes metric and inch project type More...
 

Public Member Functions

unsafe NXOpen.Part AddProductAssemblyNode (NXOpen.Tooling.CloneObject cloneObject)
 Rename the sub-assembly of product node, and add them under layout node More...
 
unsafe string[] AskConfigurationNames ()
 Ask all configuration names from database More...
 
unsafe string AskInstallingPartName ()
 Ask the top part name to be cloned More...
 
unsafe string AskProductTemplatePartName ()
 Ask the product part name to be cloned More...
 
unsafe string[] AskProjectData (int type, out string[] attrNameList)
 Ask project attributes or material data from database More...
 
unsafe NXOpen.Features.Feature AskShrinkageFeature (bool bUpdate)
 Ask the shrinkage feature and update the scale value More...
 
unsafe string AskShrinkageFromMaterial (string materialName)
 Ask shrikage values according the material More...
 
unsafe void AssignProjectAttributes (NXOpen.Part topPart, NXOpen.Part prodPart)
 Assign project attributes More...
 
unsafe string CheckProductPartNodeExistence (out bool bProdNodeExist)
 Check whether the product node exists in the current project, if not exist, just get the template part name of product node More...
 
unsafe NXOpen.Tooling.CloneObject CreateCloneObject (string templatePartName)
 Creates clone object. More...
 
unsafe NXOpen.Part CreateProject (NXOpen.Tooling.CloneObject cloneObject)
 Creates Mold Wizard project. More...
 
unsafe void FamilyMoldPostProcess (string plasticPartName, NXOpen.Body[] productBody, NXOpen.Tooling.CloneObject cloneObject)
 Post process for family mold More...
 
unsafe void PopulateFamilyMoldData (string topPartName)
 Populate data for family mold More...
 
unsafe void SetProjectPathAndName (string path, string projectName)
 Set project path and project name More...
 
unsafe void SetWorkPieceUdoClassId (int udoID)
 Set workpiece UDO ID More...
 
unsafe void UpdateCurrentConfigData (string configName)
 Update the current configuration data More...
 
unsafe void UpdateProjectAttribute (string attributeName, string attributeValue)
 Update the specified attribute value 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 NXOpen.SelectBodyList BodySelect [get]
 Returns the body will be used as product to create Mold Wizard project More...
 
unsafe
NXOpen.Tooling.InitProjectBuilder.ConfigurationId 
Configuration [get, set]
 Returns or sets the configuration access functions More...
 
unsafe string ConfigurationName [get, set]
 Returns or sets the current configuration name More...
 
unsafe bool IsDragFromReuseLib [get, set]
 Returns or sets the status whether the pre-part is dragged from reuse library or not More...
 
unsafe
NXOpen.Tooling.InitProjectBuilder.MaterialId 
Material [get, set]
 Returns or sets the material access functions More...
 
unsafe string MaterialName [get, set]
 Returns or sets the current material name More...
 
unsafe string PathName [get, set]
 Returns or sets the project path access functions More...
 
unsafe string ProjectName [get, set]
 Returns or sets the project name access functions More...
 
unsafe bool Rename [get, set]
 Returns or sets the rename dialog allows users to define rename rules More...
 
unsafe string Shrinkage [get, set]
 Returns or sets the shrinkage access functions More...
 
unsafe
NXOpen.Tooling.InitProjectBuilder.UnitId 
Unit [get, set]
 Returns or sets the project unit access functions 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

Mold Wizard initialize project builder

To create a new instance of this class, use NXOpen.Tooling.InitProjectCollection.CreateBuilder

Default values.

Property Value

Configuration

Default

Material

None

Rename

0

Unit

Millimeter

Created in NX6.0.0

Member Enumeration Documentation

the configuration type includes default and orig

Enumerator
Default 

Default configuration

Orig 

Original configuration

the material type includes None and Nylon

Enumerator
None 

None material is set

Nylon 

Nylon material type

the unit type includes metric and inch project type

Enumerator
Millimeter 

metric project

Inch 

english project

Member Function Documentation

unsafe NXOpen.Part NXOpen.Tooling.InitProjectBuilder.AddProductAssemblyNode ( NXOpen.Tooling.CloneObject  cloneObject)
inline

Rename the sub-assembly of product node, and add them under layout node

Created in NX1872.0.0

License requirements: ug_mold_design ("UG MOLD")

Parameters
cloneObject
Returns
unsafe string [] NXOpen.Tooling.InitProjectBuilder.AskConfigurationNames ( )
inline

Ask all configuration names from database

Created in NX1872.0.0

License requirements: ug_mold_design ("UG MOLD")

Returns
all configuration names in database
unsafe string NXOpen.Tooling.InitProjectBuilder.AskInstallingPartName ( )
inline

Ask the top part name to be cloned

Created in NX1872.0.0

License requirements: ug_mold_design ("UG MOLD")

Returns
unsafe string NXOpen.Tooling.InitProjectBuilder.AskProductTemplatePartName ( )
inline

Ask the product part name to be cloned

Created in NX1872.0.0

License requirements: ug_mold_design ("UG MOLD")

Returns
unsafe string [] NXOpen.Tooling.InitProjectBuilder.AskProjectData ( int  type,
out string[]  attrNameList 
)
inline

Ask project attributes or material data from database

Created in NX1872.0.0

License requirements: ug_mold_design ("UG MOLD")

Parameters
typeproject data type, 0 for project attribute, 1 for material data
attrNameListall project attribute names or material names
Returns
all project attribute values or shrinkage value based on the material
unsafe NXOpen.Features.Feature NXOpen.Tooling.InitProjectBuilder.AskShrinkageFeature ( bool  bUpdate)
inline

Ask the shrinkage feature and update the scale value

Created in NX1872.0.0

License requirements: ug_mold_design ("UG MOLD")

Parameters
bUpdateneed to update the scale value or not
Returns
the scale feature
unsafe string NXOpen.Tooling.InitProjectBuilder.AskShrinkageFromMaterial ( string  materialName)
inline

Ask shrikage values according the material

Created in NX1872.0.0

License requirements: ug_mold_design ("UG MOLD")

Parameters
materialNamematerial name
Returns
shinkage value
unsafe void NXOpen.Tooling.InitProjectBuilder.AssignProjectAttributes ( NXOpen.Part  topPart,
NXOpen.Part  prodPart 
)
inline

Assign project attributes

Created in NX1872.0.0

License requirements: ug_mold_design ("UG MOLD")

Parameters
topPart
prodPart
unsafe string NXOpen.Tooling.InitProjectBuilder.CheckProductPartNodeExistence ( out bool  bProdNodeExist)
inline

Check whether the product node exists in the current project, if not exist, just get the template part name of product node

Created in NX1872.0.0

License requirements: ug_mold_design ("UG MOLD")

Parameters
bProdNodeExist
Returns
unsafe NXOpen.Tooling.CloneObject NXOpen.Tooling.InitProjectBuilder.CreateCloneObject ( string  templatePartName)
inline

Creates clone object.

Created in NX1872.0.0

License requirements: ug_mold_design ("UG MOLD")

Parameters
templatePartName
Returns
A NXOpen.Tooling.CloneObject instance
unsafe NXOpen.Part NXOpen.Tooling.InitProjectBuilder.CreateProject ( NXOpen.Tooling.CloneObject  cloneObject)
inline

Creates Mold Wizard project.

Created in NX1872.0.0

License requirements: ug_mold_design ("UG MOLD")

Parameters
cloneObject
Returns
unsafe void NXOpen.Tooling.InitProjectBuilder.FamilyMoldPostProcess ( string  plasticPartName,
NXOpen.Body[]  productBody,
NXOpen.Tooling.CloneObject  cloneObject 
)
inline

Post process for family mold

Created in NX1872.0.0

License requirements: ug_mold_design ("UG MOLD")

Parameters
plasticPartName
productBody
cloneObject
unsafe void NXOpen.Tooling.InitProjectBuilder.PopulateFamilyMoldData ( string  topPartName)
inline

Populate data for family mold

Created in NX1872.0.0

License requirements: ug_mold_design ("UG MOLD")

Parameters
topPartName
unsafe void NXOpen.Tooling.InitProjectBuilder.SetProjectPathAndName ( string  path,
string  projectName 
)
inline

Set project path and project name

Created in NX1872.0.0

License requirements: ug_mold_design ("UG MOLD")

Parameters
path
projectName
unsafe void NXOpen.Tooling.InitProjectBuilder.SetWorkPieceUdoClassId ( int  udoID)
inline

Set workpiece UDO ID

Created in NX1872.0.0

License requirements: ug_mold_design ("UG MOLD")

Parameters
udoID
unsafe void NXOpen.Tooling.InitProjectBuilder.UpdateCurrentConfigData ( string  configName)
inline

Update the current configuration data

Created in NX1872.0.0

License requirements: ug_mold_design ("UG MOLD")

Parameters
configName
unsafe void NXOpen.Tooling.InitProjectBuilder.UpdateProjectAttribute ( string  attributeName,
string  attributeValue 
)
inline

Update the specified attribute value

Created in NX1872.0.0

License requirements: ug_mold_design ("UG MOLD")

Parameters
attributeName
attributeValue

Property Documentation

unsafe NXOpen.SelectBodyList NXOpen.Tooling.InitProjectBuilder.BodySelect
get

Returns the body will be used as product to create Mold Wizard project

Created in NX6.0.0

License requirements: None.

unsafe NXOpen.Tooling.InitProjectBuilder.ConfigurationId NXOpen.Tooling.InitProjectBuilder.Configuration
getset

Returns or sets the configuration access functions

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe string NXOpen.Tooling.InitProjectBuilder.ConfigurationName
getset

Returns or sets the current configuration name

Created in NX1872.0.0

License requirements to get this property: None.

License requirements to set this property: ug_mold_design ("UG MOLD")

unsafe bool NXOpen.Tooling.InitProjectBuilder.IsDragFromReuseLib
getset

Returns or sets the status whether the pre-part is dragged from reuse library or not

Created in NX1872.0.0

License requirements to get this property: None.

License requirements to set this property: ug_mold_design ("UG MOLD")

unsafe NXOpen.Tooling.InitProjectBuilder.MaterialId NXOpen.Tooling.InitProjectBuilder.Material
getset

Returns or sets the material access functions

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe string NXOpen.Tooling.InitProjectBuilder.MaterialName
getset

Returns or sets the current material name

Created in NX1872.0.0

License requirements to get this property: None.

License requirements to set this property: ug_mold_design ("UG MOLD")

unsafe string NXOpen.Tooling.InitProjectBuilder.PathName
getset

Returns or sets the project path access functions

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe string NXOpen.Tooling.InitProjectBuilder.ProjectName
getset

Returns or sets the project name access functions

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.Tooling.InitProjectBuilder.Rename
getset

Returns or sets the rename dialog allows users to define rename rules

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe string NXOpen.Tooling.InitProjectBuilder.Shrinkage
getset

Returns or sets the shrinkage access functions

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.Tooling.InitProjectBuilder.UnitId NXOpen.Tooling.InitProjectBuilder.Unit
getset

Returns or sets the project unit access functions

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.


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