Creates a block definition at the specified location from the selected entities.
.NET Syntax
| Visual Basic (Declaration) | |
|---|
Function MakeSketchBlockFromSelected( _
ByVal InsertionPoint As MathPoint _
) As SketchBlockDefinition |
| Visual Basic (Usage) | |
|---|
Dim instance As ISketchManager
Dim InsertionPoint As MathPoint
Dim value As SketchBlockDefinition
value = instance.MakeSketchBlockFromSelected(InsertionPoint) |
| C# | |
|---|
SketchBlockDefinition MakeSketchBlockFromSelected(
MathPoint InsertionPoint
) |
| C++/CLI | |
|---|
SketchBlockDefinition^ MakeSketchBlockFromSelected(
& MathPoint^ InsertionPoint
) |
Parameters
- InsertionPoint
- Insertion point, which is a 2D point with z = 0.0, for the block definition
Return Value
Block definition
Example
Remarks
See Also
Availability
SolidWorks 2007 FCS, Revision Number 15.0