Open MennoMekes opened 3 months ago
I don't see a way in bSDD for making properties optional/mandatory, except when we start using inheritance, than we could include all IFC properties which are not explicitly defined in the main dictionary as optional. But the most logical solution here would be adding IDS.
Properties can be required for specific classes, you do that with IsRequired atttribute of ClassProperty: https://github.com/buildingSMART/bSDD/blob/master/Documentation/bSDD%20JSON%20import%20model.md#classproperty
Ah yes of course, great!
Verzonden vanaf Outlook voor Androidhttps://aka.ms/AAb9ysg
From: ArturTomczak @.> Sent: Monday, August 12, 2024 8:51:53 AM To: buildingsmart-community/bSDD-Revit-plugin @.> Cc: Subscribed @.***> Subject: Re: [buildingsmart-community/bSDD-Revit-plugin] Enhancement: optional Properties (Issue #91)
Properties can be required for specific classes, you do that with IsRequired atttribute of ClassProperty: https://github.com/buildingSMART/bSDD/blob/master/Documentation/bSDD%20JSON%20import%20model.md#classproperty
— Reply to this email directly, view it on GitHubhttps://github.com/buildingsmart-community/bSDD-Revit-plugin/issues/91#issuecomment-2283224551, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BCGBDSHSOBUY35UHUYZH5GTZRBLQTAVCNFSM6AAAAABMGQRCX2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBTGIZDINJVGE. You are receiving this because you are subscribed to this thread.Message ID: @.***>
DISCLAIMER:
De informatie verzonden met dit emailbericht is uitsluitend bestemd voor de geadresseerde. Gebruik van deze informatie door anderen dan de geadresseerde is verboden. Openbaarmaking, vermenigvuldiging, verspreiding en/of verstrekking van deze informatie aan derden is niet toegestaan. Afzender staat niet in voor de juiste en volledige overbrenging van de inhoud van een verzonden email, noch voor tijdige ontvangst daarvan. Afzender attendeert erop dat de vertrouwelijkheid van informatie verzonden per email niet gewaarborgd is.
The information contained in this communication is confidential and may be legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed and others authorised to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. Sender is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. Please note that the confidentiality of e-mail communication is not warranted.
TileLength, TileWidth are not always needed in flooring or ceilings. If the class is not so specific, could these properties be marked as 'optional' so the add-in will still gives a green light? This is maybe something that should be possible in the bSDD?