Inheritance: IfcSpatialStructureElement
示例#1
0
        internal void IsolateObject(string filename)
        {
            DatabaseIfc        db      = new DatabaseIfc(mDatabase);
            IfcSpatialElement  spatial = this as IfcSpatialElement;
            IfcElementAssembly eas     = this as IfcElementAssembly;

            db.Factory.Duplicate(this, true);
            IfcSite site = db.Project.RootElement as IfcSite;

            if (site != null)
            {
                IfcProductRepresentation pr = site.Representation;
                if (pr != null)
                {
                    site.Representation = null;
                    pr.Destruct(true);
                }
            }
            db.WriteFile(filename);
        }
示例#2
0
		protected IfcExternalSpatialStructureElement(IfcSite host, string name) : base(host, name) { }
示例#3
0
		internal IfcExternalSpatialElement(IfcSite host, string name, IfcExternalSpatialElementTypeEnum te)
			: base(host, name) { mPredefinedType = te; }
示例#4
0
 protected IfcLinearPositioningElement(IfcSite host, IfcCurve axis) : base(host)
 {
     Axis = axis;
 }
示例#5
0
 public Pset_LandRegistration(IfcSite instance)
     : base(instance.mDatabase, "Pset_LandRegistration")
 {
     DefinesOccurrence.Assign(instance);
 }
示例#6
0
 public Pset_SiteCommon(IfcSite instance)
     : base(instance.mDatabase, "Pset_SiteCommon")
 {
     DefinesOccurrence.Assign(instance);
 }
示例#7
0
		public IfcProject(IfcSite site, string name, IfcUnitAssignment.Length length) : this(site.mDatabase, name, length) { IfcRelAggregates ra = new IfcRelAggregates(site.mDatabase, "Project", "Site", this, site); }
示例#8
0
		public IfcBuildingStorey(IfcSite host, string name, double elevation) : base(host, name) { Elevation = elevation; }
示例#9
0
		public IfcBuilding(IfcSite host, string name) : base(host, name) {   }
示例#10
0
		public IfcProject(IfcSite site, string name) : this(site.mDatabase, name) { new IfcRelAggregates(site.mDatabase, "Project", "Site", this, site); }
示例#11
0
 public IfcBuilding(IfcSite host, string name)
     : base(host, name)
 {
     setDefaultAddress();
 }
示例#12
0
		internal static IfcSite Parse(string strDef) { IfcSite s = new IfcSite(); int ipos = 0; parseFields(s, ParserSTEP.SplitLineFields(strDef), ref ipos); return s; }
示例#13
0
		internal static void parseFields(IfcSite s, List<string> arrFields, ref int ipos)
		{
			IfcSpatialStructureElement.parseFields(s, arrFields, ref ipos);
			s.mRefLatitude = arrFields[ipos++];
			s.mRefLongitude = arrFields[ipos++];
			s.mRefElevation = ParserSTEP.ParseDouble(arrFields[ipos++]);
			s.mLandTitleNumber = arrFields[ipos++];
			s.mSiteAddress = ParserSTEP.ParseLink(arrFields[ipos++]);
		}
示例#14
0
		internal IfcSite(IfcSite host, string name) : base(host, name) { }
示例#15
0
		internal IfcSite(IfcSite p) : base(p) { mRefLatitude = p.mRefLatitude; mRefLongitude = p.mRefLongitude; mRefElevation = p.mRefElevation; mLandTitleNumber = p.mLandTitleNumber; mSiteAddress = p.mSiteAddress; }