Gets the entity on which this sketch was created.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetReferenceEntity( _
ByRef LEntityType As System.Integer _
) As System.Object |
Visual Basic (Usage) | |
---|
Dim instance As ISketch
Dim LEntityType As System.Integer
Dim value As System.Object
value = instance.GetReferenceEntity(LEntityType) |
C# | |
---|
System.object GetReferenceEntity(
out System.int LEntityType
) |
C++/CLI | |
---|
System.Object^ GetReferenceEntity(
& [Out] System.int LEntityType
) |
Parameters
- LEntityType
Entity type as defined in swSelectType_e (only swSelFACES and swSelDATUMPLANES are valid values for this method)
Return Value
Either a
reference plane or a
face,
depending on the value of lEntityType
Example
Remarks
See Also
Availability
SolidWorks 2001Plus FCS, Revision Number 10.0