Skip to content

TI bridge mvdxml fix - #12

Open
pjanck wants to merge 3 commits into
bridgefrom
ti-bridge-mvdxml-fix
Open

TI bridge mvdxml fix#12
pjanck wants to merge 3 commits into
bridgefrom
ti-bridge-mvdxml-fix

Conversation

@pjanck

@pjanck pjanck commented Nov 9, 2023

Copy link
Copy Markdown
  • Fixed some serialization mistakes
  • Renamed doubled uuids
  • Added some operators where deemed necessary
  • Fixed an applicable entity

Fixed some serialization mistakes
@pjanck
pjanck requested a review from SergejMuhic November 9, 2023 22:13
Comment thread ti-bridge.mvdxml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure about the change here. Seems identical. Fine.

Comment thread ti-bridge.mvdxml Outdated
<EntityRules>
<EntityRule EntityName="IfcCurveSegment">
<References>
<Template>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, my bad. I guess I shouldn't have fiddled with the file manually.

Comment thread ti-bridge.mvdxml Outdated
</ConceptTemplate>
</SubTemplates>
</ConceptTemplate>
<ConceptTemplate uuid="e5d27119-bcb5-43e6-b6b3-8ababc4593f4" name="_Bridge Alignment Reference View" applicableSchema="IFC4">

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The guid seems fine. What is the reason for changing? If we change here, the specification would have to be changed since it is generated from there,

Comment thread ti-bridge.mvdxml Outdated
</Body>
</Definition>
</Definitions>
<BaseView>2c20c595-6b25-445b-92f5-37ef9eb1825f</BaseView>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine I guess. But unnecessary.

Comment thread ti-bridge.mvdxml Outdated
</Definitions>
<Template ref="8c0fd2f7-71bb-4e6e-8fdb-0c02b352f14a" />
<TemplateRules>
<TemplateRules operator="or">

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright, this is definitely a bug. Have to fix this.

Comment thread ti-bridge.mvdxml Outdated
</Concept>
</Concepts>
</ConceptRoot>
<ConceptRoot uuid="280bbb91-3d77-4b73-88d5-594762c1989d" name="IfcPositioningElement" applicableRootEntity="IfcPositioningElement">

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not understand this change. But I think it is part of Reference View, so I will remove (see below also).

Comment thread ti-bridge.mvdxml Outdated
</Definitions>
<Template ref="0c93e2c2-cb23-46a8-8b9a-c772c280fc26" />
<Requirements>
<Requirement applicability="export" requirement="notrelevant" exchangeRequirement="dcd96125-898e-4ff0-b294-eb02afe953aa" />

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why this was changed, but please ignore since it is Reference View. I will remove the entire Reference View.

@SergejMuhic

Copy link
Copy Markdown

I have removed the views. I am mostly fine with the changes. Just a few are not clear to me.

@SergejMuhic

Copy link
Copy Markdown

I have fixed the serialization issue. I have accidentally used the wrong serializer. Apologies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants