Creates a block definition at the specified location using all of the sketch entities in the active sketch.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function MakeSketchBlockFromSketch( _
ByVal InsertionPoint As MathPoint, _
ByVal Sketch As Sketch _
) As SketchBlockDefinition |
Visual Basic (Usage) | |
---|
Dim instance As ISketchManager
Dim InsertionPoint As MathPoint
Dim Sketch As Sketch
Dim value As SketchBlockDefinition
value = instance.MakeSketchBlockFromSketch(InsertionPoint, Sketch)
|
C++/CLI | |
---|
SketchBlockDefinition^ MakeSketchBlockFromSketch(
& MathPoint^ InsertionPoint,
& Sketch^ Sketch
) |
Parameters
- InsertionPoint
- Insertion point for block definition
- Sketch
- Sketch to use
Return Value
Block definition
Remarks
See Also
Availability
SolidWorks 2007 FCS, Revision Number 15.0