Exemplo n.º 1
0
        public BaseComponent SelectFatherComponent(int objectID)
        {
            BaseComponent result = null;

            ModelObject modelObject = model.SelectModelObject(new Tekla.Structures.Identifier(objectID));

            if (modelObject != null)
            {
                result = modelObject.GetFatherComponent();
            }

            return(result);
        }