Exemplo n.º 1
0
 public XbimModelViewModel(IfcProject project, IXbimViewModel parent)
 {
     xbimModel = project.ModelOf as XbimModel;
     _project = project;
     this.CreatingParent = parent;
     IEnumerable subs = this.Children; //call this once to preload first level of hierarchy   
 }
Exemplo n.º 2
0
        public ProjectType(IfcProject ifcProject, CoBieLiteHelper helper)
            : this()
        {

          //  _ifcProject = ifcProject;
            externalEntityName = helper.ExternalEntityName(ifcProject);
            externalID = helper.ExternalEntityIdentity(ifcProject);
            externalSystemName = helper.ExternalSystemName(ifcProject);
            ProjectName = ifcProject.Name;
            ProjectDescription = ifcProject.Description;

        }
Exemplo n.º 3
0
 public SpatialViewModel(IfcProject project)
 {
     xbimModel = project.ModelOf as XbimModel;
     this.spatialStructureLabel = Math.Abs(project.EntityLabel);
     IEnumerable subs = this.Children; //call this once to preload first level of hierarchy          
 }