Gets an entity (face, edge, vertex) by name.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function IGetEntityByName( _
ByVal Name As System.String, _
ByVal EntityType As System.Integer _
) As Entity |
Visual Basic (Usage) | |
---|
Dim instance As IPartDoc
Dim Name As System.String
Dim EntityType As System.Integer
Dim value As Entity
value = instance.IGetEntityByName(Name, EntityType) |
C# | |
---|
Entity IGetEntityByName(
System.string Name,
System.int EntityType
) |
C++/CLI | |
---|
Entity^ IGetEntityByName(
& System.String^ Name,
& System.int EntityType
) |
Parameters
- Name
Name of entity
- EntityType
Entity type as defined in swSelectType_e (see Remarks)
Return Value
Entity
Example
Remarks
See Also