When i open a model, and select a object, and try to use get the ModelObject by the DrawingObject's ModelIdentifier,
But the DawingObject's ModelIdentifier is always zero, So that i can't get the ModelObject as follow:
Tekla.Structures.Drawing.Part current = dawingObjects.Current as Tekla.Structures.Drawing.Part;
current.ModelIdntifier is zero.
Tekla.Structures.Model.Part mPart = model.SelectModelObject(current.ModelIdntifier ) as Tekla.Structures.Model.Part; Error!