Indexes   

DNBFastenerItemServices (Object)


Method Index

AssignFastenerToProcess
Assigns a specified DELMIAFastener to a specified Activity and return the status of the action.
AssignFastenerToResource
Assigns a specified DELMIAFastener to a specified Resource and return the status of the action.
GetFastenersFromProcess
Gets all the DELMIAFasteners assigned to the Activity.
GetFastenersFromResource
Gets all the DELMIAFasteners assigned to the Resource.
GetFasteners
Gets all the Fasteners on the products.
GetNumberOfFasteners
Gets the number of Fasteners on the products.
RemoveFastenerFromProcess
Unassigns a specified DELMIAFastener from a specified Activity.
RemoveFastenerFromResource
Unassigns a specified DELMIAFastener from a specified Resource.

Methods


o Sub AssignFastenerToProcess( iFastener,
iProcess,
eStatus)
Assigns a specified DELMIAFastener to a specified Activity and return the status of the action. Activity can be a TSA (for Resource) as well. *
Example:
Set myObject = CATIA.GetItem("DNBFastenerItemServices") Dim AssignStatus As EnumParam myObject.AssignFastenerToProcess MyFastener,MyActivity,AssignStatus MsgBox AssignStatus
o Sub AssignFastenerToResource( iFastener,
iResource,
eStatus)
Assigns a specified DELMIAFastener to a specified Resource and return the status of the action. *
Example:
Set myObject = CATIA.GetItem("DNBFastenerItemServices") Dim AssignStatus As EnumParam myObject.AssignFastenerToResource MyFastener,MyResource,AssignStatus MsgBox AssignStatus
o Sub GetFastenersFromProcess( iOperation,
iFasteners)
Gets all the DELMIAFasteners assigned to the Activity. *
Example:
Set myObject = CATIA.GetItem("DNBFastenerItemServices") Dim FastenerLot As FatenerSet myObject.GetFastenersFromProcess MyActivity,FastenerLot
o Sub GetFastenersFromResource( iResource,
iFasteners)
Gets all the DELMIAFasteners assigned to the Resource. *
Example:
Set myObject = CATIA.GetItem("DNBFastenerItemServices") Dim FastenerLot As FatenerSet myObject.GetFastenersFromProcess MyResource,FastenerLot
o Sub GetFasteners( iProducts,
bJoiningFasteners,
oFastenerArray)
Gets all the Fasteners on the products.
Parameters:
bJoiningFasteners
Decides whether only the fastener joining the products will be returned(true) or all the fasteners on all the products(false)
Example:
Set myObject = CATIA.GetItem("DNBFastenerItemServices") Dim MyNum MyNum = myObject.GetNumberOfFasteners (MyProductArray, false) Dim MyFastenerList() As AnyObject ReDim MyFastenerList(MyNum) myObject.GetFasteners MyProductList,false,MyFastenerList
o Func GetNumberOfFasteners( iProducts,
bJoiningFasteners) As
Gets the number of Fasteners on the products.
Parameters:
bJoiningFasteners
Decides whether only the fastener joining the products will be returned(true) or all the fasteners on all the products(false)
Example:
Set myObject = CATIA.GetItem("DNBFastenerItemServices") Dim MyNum MyNum = myObject.GetNumberOfFasteners (MyProductArray, false)
o Sub RemoveFastenerFromProcess( iFastener,
iProcess)
Unassigns a specified DELMIAFastener from a specified Activity. *
Example:
Set myObject = CATIA.GetItem("DNBFastenerItemServices") myObject.RemoveFastenerFromProcess MyFastener,MyActivity
o Sub RemoveFastenerFromResource( iFastener,
iResource)
Unassigns a specified DELMIAFastener from a specified Resource. *
Example:
Set myObject = CATIA.GetItem("DNBFastenerItemServices") myObject.RemoveFastenerFromResource MyFastener,MyResource

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