STK Object BrokerSend comments on this topic.
PromoteAndLockObject Method (IAgStkBroker)
See Also
Entity
ObjectType
Windows





Windows & Linux

Description

Promotes the STK representation of an entity to the provided STK object type.

Syntax

[Visual Basic .NET]
Public Function PromoteAndLockObject( _
    ByVal Entity As IAgEntity, _
    ByVal ObjectType As AgESTKObjectType _
) As String
[C#]
public string PromoteAndLockObject(
    IAgEntity Entity,
    AgESTKObjectType ObjectType
);
[Managed C++]
public: String __gc ^ PromoteAndLockObject(
    IAgEntity ^ Entity,
    AgESTKObjectType ObjectType
);
[Unmanaged C++]
public: HRESULT PromoteAndLockObject(
    IAgEntity * Entity,
    AgESTKObjectType ObjectType,
    BSTR * pObjectPath
);
[Java]
public String promoteAndLockObject(
    IAgEntity Entity,
    AgESTKObjectType ObjectType
);

Parameters

Entity
ObjectType

See Also

© 2025 Analytical Graphics, Inc. All Rights Reserved.