DNBFastenerInterfaces PointFastener (Object)
All Frameworks Object Hierarchy This Framework Indexes
PointFastener (Object)
Interface DELMIAPointFastener DELMIAPointFastener represent body in white fasteners of type point.
Following kind of point fasteners are by default available with DPM - Fastening Process Planner
Sealant Point, Spot Weld, Stud, Glue Drop, Rivet, Screw, Clinch, Drill, Adhesive Point
Property Index
Style
Sets the CGR Style representation for the fastener in the 3D Viewer.
Symbol
Sets the symbol for representation for the fastener in the 3D Viewer.
Method Index
GetDesignXYZYPR
Returns Design data of the fastener.
GetTag
Returns a DELMIATag object from fastener
Example:
MyTag = MyFastener.
ResetPosition
Sets the position of point fastener to design position or DPE
Saved Manufacturing Position
Valid Param : 0,1
Example:
//to reset the position to design position
MyFastener.
Properties
Sets the CGR Style representation for the fastener in the 3D Viewer.
Parameters:
iStyle Type
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 the fastener to Sphere provided it is available in XML file
MyFastener.Style = "Sphere"
Sets the symbol for representation for the fastener in the 3D Viewer.
Parameters:
iSymbol Type
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 the fastener to red
MyFastener.Symbol = "FULLSQUARE"
Methods
o Sub GetDesignXYZYPR ( ioXYZYPR )
Returns Design data of the fastener. YPR values are in Degree.
Example:
Dim DesignPos()
ReDim DesignPos(5)
MyFastener.GetDesignXYZYPR(DesignPos)
Returns a DELMIATag object from fastener
Example:
MyTag = MyFastener.GetTag()
o Sub ResetPosition ( iVal )
Sets the position of point fastener to design position or DPE
Saved Manufacturing Position
Valid Param : 0,1
Example:
//to reset the position to design position
MyFastener.ResetPosition(0)
//to reset the position to DPE Saved Manufacturing Position
MyFastener.ResetPosition(1)
Copyright © 2003, Dassault Systèmes. All rights reserved.