Adds a generic managed entity (e.g. an annotation) created by the Inventor API.
Namespace:
Autodesk.iLogic.Interfaces
Assembly:
Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 25.0
Syntax
VB
Function AddManagedEntity (
entityName As String,
factoryFunction As Func(Of Object)
) As IManagedEntity
C#
IManagedEntity AddManagedEntity(
string entityName,
Func<Object> factoryFunction
)
Parameters
- entityName
- Type: System.String
The name of the entity. - factoryFunction
- Type: System.Func(Object)
A function that will create the entity.
Return Value
Type:
IManagedEntityA managed entity.
See Also
Reference