Zum Hauptinhalt springen

ICkClassMappingService

Namespace: Meshmakers.Octo.ConstructionKit.Contracts.Services

Interface of services that provides the corresponding class type for a given CkTypeId or CkRecordId

public interface ICkClassMappingService

Methods​

GetCkTypeClass(RtCkId<CkTypeId>)​

Returns the class type for the given CkTypeId

Type GetCkTypeClass(RtCkId<CkTypeId> rtCkTypeId)

Parameters​

rtCkTypeId RtCkId<CkTypeId>
Construction kit type id

Returns​

Type
The corresponding class type if there is a mapping

GetCkRecordClass(RtCkId<CkRecordId>)​

Returns the class type for the given CkRecordId

Type GetCkRecordClass(RtCkId<CkRecordId> rtCkRecordId)

Parameters​

rtCkRecordId RtCkId<CkRecordId>
Construction kit record id

Returns​

Type
The corresponding class type if there is a mapping