All Frameworks  Object Hierarchy  This Framework  Indexes   

ManufacturingInsert (Object)

The interface to access a CATIAManufacturingInsert.

Property Index

InsertType
Return the technological type of a the insert.
NumberOfAttributes
Give the Number of attributes of an insert object.

Method Index

GetAttributeNLSName
Gives the NLS value of an insert object Example: The following example gives in NLSresult the NLS value of the "MFG_COMMENT" attributes of the insert CurrentInsert NLSresult = CurrentInsert.
GetAttribute
Retrieve by is name the attribute of an insert object.
GetListOfAttributeUnits
Retrieve the list of attribute units of an insert object.
GetListOfAttributes
Retrieve the list of attributes of an insert object.

Properties


o Property InsertType() As (Read Only)
Return the technological type of a the insert. Example: The following example return the insert type theType of to the insert CurrentInsert theType=CurrentInsert.InsertType.
o Property NumberOfAttributes() As (Read Only)
Give the Number of attributes of an insert object. Example: The following example returns the Number of attributes of the insert object CurrentInsert. Number = CurrentInsert.NumberOfAttributes.

Methods


o Func GetAttributeNLSName( iAttributName) As
Gives the NLS value of an insert object Example: The following example gives in NLSresult the NLS value of the "MFG_COMMENT" attributes of the insert CurrentInsert NLSresult = CurrentInsert.GetAttributeNLSName("MFG_COMMENT").
o Func GetAttribute( iAttribut) As
Retrieve by is name the attribute of an insert object. Each attribute is a CKE object. Example: The following example retreives in MachiningQuality the attribute MfgMachiningQuality of the insert CurrentInsert
 Set MachiningQuality = CurrentInsert.GetAttribute(MfgMachiningQuality).
o Sub GetListOfAttributeUnits( oListOfAttributeUnits)
Retrieve the list of attribute units of an insert object. The number of items in the output array is equal to the number of attributes of the insert. When an attribute has no unit definition, the corresponding unit item in the output array is a blank string. Example: The following example retrieves in TabAttributeUnits the list of attribute units of the insert object CurrentInsert call CurrentInsert.GetListOfAttributeUnits(TabAttributeUnits).
o Sub GetListOfAttributes( oListOfAttributes)
Retrieve the list of attributes of an insert object. Each attribute is returned as the name of a CKE object. Example: The following example retrieves in TabAttributes the list of attributes of the insert object CurrentInsert call CurrentInsert.GetListOfAttributes(TabAttributes).

Copyright © 2003, Dassault Systèmes. All rights reserved.