xbimteam / xbimpropertysets Goto Github PK
View Code? Open in Web Editor NEW.NET library providing access to standard Property sets and related bSDD Data Dictionary metadata
License: Other
.NET library providing access to standard Property sets and related bSDD Data Dictionary metadata
License: Other
I had a look at the latest release of IFC4 Add2 TC1 - this is implemented as i can se in the XBIM enviroment,
but when checking if the new PSet's was presenent I found them missing.
Is there any plans of implementing these before the release of 4.3 ?
I have started to do something about it, but might need som sparring around two minor issues.
These two issues is
Handeling of IFCValue in DataType - _type setter.
In Pset_ReinforcingBarCommon - BendingParameters => IfcValue is defined as valuetype for the list.
This is as I can understand it a base type for other valuetypes.
Should it just be added to the Enum ? or is there better ways of solving it ?
If I just add it to Enum, it is correct in definitinons, and I can use it inside Revit.
Tags in the xml headers
The new Xml definisjons found in the IFC4 ADD2 TC1 download has a tag as shown under.
xsi:noNamespaceSchemaLocation="http://buildingSMART-tech.org/xml/psd/PSD_IFC4.xsd"
To get it to work, i changed the xsi:noNamespaceSchemaLocation to just "xmlns:"
The link it self is obvious wrong, but i can't locate the where it has been moved.
Is this a valid solution ?
All the other xml files has only refs to xmlns, not the other one.
See also #5
Hello
I'm here again, this time i would like to know what is the correct method to obtain all properties of an object, including properties by type and specific properties of the object.
At the moment i'm using this code:
if (SelectedText == "IFCCOLUMN")
{
var TotalColumns = XBModel.Instances.OfType<Xbim.Ifc2x3.SharedBldgElements.IfcColumn>();
Xbim.Ifc2x3.SharedBldgElements.IfcColumn col = TotalColumns.ElementAt(listBox1.SelectedIndex);
textBox1.Text = "";
var ifcObj = col as Xbim.Ifc2x3.Kernel.IfcObject;
var ifcType = Xbim.IO.IfcMetaData.IfcType(ifcObj);
Dictionary<IfcLabel, Dictionary<IfcIdentifier, IfcValue>> result = col.GetAllPropertySingleValues();
for (int i = 0; i < result.Count; i++)
{
var Meta = result.ElementAt(i).Value;
for (int j = 0; j < Meta.Count; j++)
{
var SubMeta = Meta.ElementAt(j);
textBox1.Text += "\t" + SubMeta.Key + ": " + SubMeta.ToString() + Environment.NewLine;
}
}
}
But i'm sure this is not the best way to do it.
Thank you in advance.
Now I have a program related to gltf files, it is developed in visual studio2012 with .Net framework 4.5. Microsoft released visual studio2012 with .Net framework 4.5 at the same time, so I can't add new class library with .Net framework 4.5 environment.
I aimed at adding new function that can convert ifc file to gltf file. So I need Xbim.Geomery and Xbim.PropertySets. So I want to ask is there .Net framework 4.5 version for Xbim.Geomery and Xbim.PropertySets?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.