Creates a block definition using the specified file.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function MakeSketchBlockFromFile( _
ByVal InsertionPoint As MathPoint, _
ByVal FileName As System.String, _
ByVal LinkedToFile As System.Boolean, _
ByVal Scale As System.Double, _
ByVal Angle As System.Double _
) As SketchBlockDefinition |
Visual Basic (Usage) | |
---|
Dim instance As ISketchManager
Dim InsertionPoint As MathPoint
Dim FileName As System.String
Dim LinkedToFile As System.Boolean
Dim Scale As System.Double
Dim Angle As System.Double
Dim value As SketchBlockDefinition
value = instance.MakeSketchBlockFromFile(InsertionPoint, FileName, LinkedToFile, Scale, Angle) |
Parameters
- InsertionPoint
- Insertion point, which is 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