Giter VIP home page Giter VIP logo

Comments (2)

klacol avatar klacol commented on July 21, 2024

Just running the PSetManager locally to check the resolution of the Guids of the PSset in the last version, and it it much better (though not 100%). But now some serialization errors. Will solve them and commit later.

from bsdd.

klacol avatar klacol commented on July 21, 2024

I have now updates the PSets to the official PSets IFC 4.0.2.1 (IFC4_ADD2_TC1)

The follwing PSets have now been deleted, since they seem to not exist anymore in IFC 4.0.2.1

PSets/XML/Pset_BuildingSystem.xml
PSets/XML/Pset_ConstructionResourcePHistory.xml
PSets/XML/Pset_DistributionPortPHistoryAirConditioning.xml
PSets/XML/Pset_DistributionPortPHistoryControl.xml
PSets/XML/Pset_DistributionPortPHistoryData.xml
PSets/XML/Pset_DistributionPortPHistoryElectrical.xml
PSets/XML/Pset_DistributionPortPHistoryGas.xml
PSets/XML/Pset_DistributionPortPHistoryHeating.xml
PSets/XML/Pset_DistributionPortPHistoryOil.xml
PSets/XML/Pset_DistributionPortPHistorySignal.xml
PSets/XML/Pset_DistributionPortTypeAirConditioning.xml
PSets/XML/Pset_DistributionPortTypeAudioVisual.xml
PSets/XML/Pset_DistributionPortTypeChemical.xml
PSets/XML/Pset_DistributionPortTypeControl.xml
PSets/XML/Pset_DistributionPortTypeData.xml
PSets/XML/Pset_DistributionPortTypeDomesticColdWater.xml
PSets/XML/Pset_DistributionPortTypeDomesticHotWater.xml
PSets/XML/Pset_DistributionPortTypeDrainage.xml
PSets/XML/Pset_DistributionPortTypeElectrical.xml
PSets/XML/Pset_DistributionPortTypeFireProtection.xml
PSets/XML/Pset_DistributionPortTypeGas.xml
PSets/XML/Pset_DistributionPortTypeHeating.xml
PSets/XML/Pset_DistributionPortTypeOil.xml
PSets/XML/Pset_DistributionPortTypeSewage.xml
PSets/XML/Pset_DistributionPortTypeSignal.xml
PSets/XML/Pset_DistributionPortTypeTelephone.xml
PSets/XML/Pset_DoorWindowShadingType.xml
PSets/XML/Pset_ElectricalDeviceTypeCommon.xml
PSets/XML/Pset_WindowCommon_Map_test.xml

The following PSets have now been added, since they are new in IFC 4.0.2.1

PSets/XML/Pset_ElectricFlowStorageDevicePHistory.xml
PSets/XML/Pset_ElementAssemblyCommon.xml
PSets/XML/Pset_MechanicalFastenerCommon.xml
PSets/XML/Pset_ReinforcingBarCommon.xml
PSets/XML/Pset_ReinforcingMeshCommon.xml
PSets/XML/Pset_SensorTypeCO2Sensor.xml
PSets/XML/Pset_SensorTypeFrostSensor.xml
PSets/XML/Pset_SensorTypeIdentifierSensor.xml
PSets/XML/Pset_SpatialZoneCommon.xml
PSets/XML/Pset_TankPHistory.xml
PSets/XML/Pset_TendonAnchorCommon.xml
PSets/XML/Pset_TendonCommon.xml
PSets/XML/Pset_ElectricFlowStorageDevicePHistory.YAML
PSets/XML/Pset_ElementAssemblyCommon.YAML
PSets/XML/Pset_MechanicalFastenerCommon.YAML
PSets/XML/Pset_ReinforcingBarCommon.YAML
PSets/XML/Pset_ReinforcingMeshCommon.YAML
PSets/XML/Pset_SensorTypeCO2Sensor.YAML
PSets/XML/Pset_SensorTypeFrostSensor.YAML
PSets/XML/Pset_SensorTypeIdentifierSensor.YAML
PSets/XML/Pset_SpatialZoneCommon.YAML
PSets/XML/Pset_TankPHistory.YAML
PSets/XML/Pset_TendonAnchorCommon.YAML
PSets/XML/Pset_TendonCommon.YAML

These PSets have been changed, since they were not valid

Pset_ElectricFlowStorageDevicePHistory
templatetype is empty
changed to templatetype="PSET_PERFORMANCEDRIVEN"

Pset_ElementAssemblyCommon
templatetype is empty
changed to templatetype="PSET_TYPEDRIVENOVERRIDE"

Pset_MechanicalFastenerCommon
templatetype is empty
changed to templatetype="PSET_TYPEDRIVENOVERRIDE"

Pset_ReinforcingBarCommon
Property BendingParameters
Validation error: 'IfcValue' no valid value for DataTypeType.
changed to IfcReal

Pset_ReinforcingMeshCommon
templatetype is empty
changed to templatetype="PSET_TYPEDRIVENOVERRIDE"

Property BendingParameters
Validation error: 'IfcValue' no valid value for DataTypeType.
changed to IfcReal

Pset_SensorTypeFrostSensor
templatetype is empty
changed to templatetype="PSET_TYPEDRIVENOVERRIDE"

Pset_SensorTypeIdentifierSensor
templatetype is empty
changed to templatetype="PSET_TYPEDRIVENOVERRIDE"

Pset_SpatialZoneCommon
templatetype is empty
changed to templatetype="PSET_TYPEDRIVENOVERRIDE"

Pset_TankPHistory
templatetype is empty
changed to templatetype="PSET_PERFORMANCEDRIVEN"

This is the command line to transform the official XML-PSets with the PSetManager.exe into the proposed YAML format and inject the translation values from Excel sheets are as following

PSetManager.exe --mode ConvertFromXml --folderXml "{YourLocalPath}\PSets\XML" --folderYaml "{YourLocalPath}\PSets\YAML" --folderJson "{YourLocalPath}\PSets\JSON" --folderResx "{YourLocalPath}\PSets\RESX"

PSetManager.exe --mode LoadTranslation --translationSourceFile "{YourLocalPath}\IFC_Translation_PSets.xlsx" --folderYaml "{YourLocalPath}\PSets\YAML" --folderJson "{YourLocalPath}\PSets\JSON" --folderResx "{YourLocalPath}\PSets\RESX"

PSetManager.exe --mode LoadTranslation --translationSourceFile "{YourLocalPath}\IFC_Translation_Properties.xlsx" --folderYaml "{YourLocalPath}\PSets\YAML" --folderJson "{YourLocalPath}\PSets\JSON" --folderResx "{YourLocalPath}\PSets\RESX"

The resolution rate to bSDD is now better than before:

PSets Properties
Sum 436 2548
resolved guids in bSDD 29 2325
not resolved guids in bSDD 407 223

Thanks @jmirtsch for giving this hint.

from bsdd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.