Properties
- Property Color( iColor) (Write Only)
-
Sets the color of the fasteners.
- Example:
-
This example sets the Color type of all the fasteners to red
redCol =16711680 'Encoded RGB color within long integer (R=255 G=0 B=0) MyFastenerGroup.Color = redCol
- Property Style( iStyle) (Write Only)
-
Sets the CGR Style representation for the Spot Welds in the 3D Viewer.
- Parameters:
-
- iStyleType
- of the CGR Style to be used for representation.
The valid set of Styles are :-- As specified in XML in tools-options page
- Example:
-
This example sets the CGR Style type of all the fasteners
to Sphere provided it is available in XML file
MyFastenerGroup.Style = "Sphere"
- Property Symbol( iColor) (Write Only)
-
Sets the symbol for representation for the Spot Welds in the 3D Viewer.
- Parameters:
-
- iSymbolType
- of the symbol to be used for representation.
The valid set of symbols are :-- CROSS
- PLUS
- CONCENTRIC
- COINCIDENT
- FULLCIRCLE
- FULLSQUARE
- STAR
- DOT
- SMALLDOT
- Example:
-
This example sets the Symbol type of all the fasteners to FULLSquare
MyFastenerGroup.Symbol = "FULLSQUARE"
Methods
- Func GetCount( IDName) As
-
Returns the number of entities in the fastener group of the Type.
- Parameters:
-
- oNumOfEntities
- The number of Entities
- Example:
-
This example gets number of welds in the fastener Group
Dim NumberOfWelds NumberOfWelds = MyFastenerGroup.GetCount("DELMIASpotWeld")This example gets number of FastenerGroups in the fastener GroupDim NumberOfGroups NumberOfGroups = MyFastenerGroup.GetCount("DELMIAFastenerGroup")
Dim NumberOfWelds
NumberOfWelds = MyFastenerGroup.GetItems("DELMIASpotWeld")
This example gets the FastenerGroups in the fastener Group
Dim NumberOfGroups
NumberOfGroups = MyFastenerGroup.GetItems("DELMIAFastenerGroup")
- Parameters:
-
- oListOfParts
- The list of parts
- Example:
-
This example gets list of parts joined by fastener
Dim NumberOfParts Dim JoiningParts() NumberOfParts = MyFastenerGroup.NumberOfJoiningParts ReDim JoiningParts(NumParts-1) MyFastenerGroup.GetJoinedPartNames(JoiningParts)
- Parameters:
-
- index
- Index should be greater than equal to 1.
- Example:
-
This example gets the part at index 1
Dim MyProduct As Product Set MyProduct = MyFastenerGroup.GetPart(1)
MyFastenerGroup.Hide
- Parameters:
-
- oNumOfParts
- The number of parts
- Example:
-
This example gets number of parts joined by fastener
Dim NumberOfParts NumberOfParts = MyFastenerGroup.NumberOfJoiningParts
MyFastenerGroup.Show