All Frameworks  Object Hierarchy  This Framework  Previous  Next  Indexes  

ManufacturingInsert (Object)

IUnknown
  |
  +---IDispatch
    |
    +---CATBaseUnknown
      |
      +---CATBaseDispatch
        |
        +---AnyObject
          |
          +---ManufacturingInsert
 


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

GetAttribute
Retrieve by is name the attribute of an insert object.
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.
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 CATBSTR (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 short (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 GetAttribute(CATBSTR iAttribut) As CATIAParameter
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 Func GetAttributeNLSName(CATBSTR iAttributName) As CATBSTR
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 Sub GetListOfAttributeUnits(CATSafeArrayVariant 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(CATSafeArrayVariant 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.