Creates a block definition using the specified file.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function MakeSketchBlockFromFile( _
ByVal InsertionPoint As MathPoint, _
ByVal FileName As String, _
ByVal LinkedToFile As Boolean, _
ByVal Scale As Double, _
ByVal Angle As Double _
) As SketchBlockDefinition |
Visual Basic (Usage) | |
---|
Dim instance As ISketchManager
Dim InsertionPoint As MathPoint
Dim FileName As String
Dim LinkedToFile As Boolean
Dim Scale As Double
Dim Angle As Double
Dim value As SketchBlockDefinition
value = instance.MakeSketchBlockFromFile(InsertionPoint, FileName, LinkedToFile, Scale, Angle)
|
Parameters
- InsertionPoint
- Insertion point, which must be a 2D point with z = 0.0, for the block definition
- FileName
- Name of the external file to use to create the block definition
- LinkedToFile
- True to link the block definition to the file, false to not
- Scale
- Scale for the block definition
- Angle
- Rotation angle for the block definition
Return Value
Block definition
Example
Remarks
See Also
Availability
SolidWorks 2007 FCS, Revision Number 15.0