Skip to main content

ICkClassMap

Namespace: Meshmakers.Octo.ConstructionKit.Contracts.Services

Interface for resolving classes from type/records ids.

public interface ICkClassMap

Properties​

ModelId​

Returns the model id the mapping is for

public abstract string ModelId { get; }

Property Value​

String

Methods​

GetCkTypeClass(CkTypeId)​

Returns the class type for the given type id

Type GetCkTypeClass(CkTypeId ckTypeId)

Parameters​

ckTypeId CkTypeId
The type id within a model

Returns​

Type
The corresponding class type if there is a mapping

GetCkRecordClass(CkRecordId)​

Returns the class type for the given record id

Type GetCkRecordClass(CkRecordId ckRecordId)

Parameters​

ckRecordId CkRecordId
The record id within a model

Returns​

Type
The corresponding class type if there is a mapping