Skip to content

Commit be3c99a

Browse files
authored
DPex Correcting Type (#727)
* changed relationship property type to be BeGuid rather than string * get ready for release * changing varifier to Caleb * read version change
1 parent a71e25c commit be3c99a

3 files changed

Lines changed: 76 additions & 3 deletions

File tree

Domains/4-Application/DrawingProduction/DrawingProductionExperimental.ecschema.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
| * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
44
| * See LICENSE.md in the project root for license terms and full copyright notice.
55
======================================================================================= -->
6-
<ECSchema schemaName="DrawingProductionExperimental" alias="dpex" version="01.00.03" xmlns="http://www.bentley.com/schemas/Bentley.ECXML.3.2" description="This schema contains an experimental implementation of concepts associated with Drawing Production.">
6+
<ECSchema schemaName="DrawingProductionExperimental" alias="dpex" version="02.00.01" xmlns="http://www.bentley.com/schemas/Bentley.ECXML.3.2" description="This schema contains an experimental implementation of concepts associated with Drawing Production.">
77
<ECSchemaReference name="CoreCustomAttributes" version="01.00.03" alias="CoreCA" />
88
<ECSchemaReference name="BisCustomAttributes" version="01.00.00" alias="bisCA"/>
99
<ECSchemaReference name="BisCore" version="01.00.16" alias="bis"/>
@@ -52,7 +52,7 @@
5252
<Target multiplicity="(0..*)" roleLabel="is depended on" polymorphic="true">
5353
<Class class="bis:GeometricElement"/>
5454
</Target>
55-
<ECProperty propertyName="lastKnownGeometricGuid" typeName="string" displayLabel="Last Known Geometric Guid" description="The GUID of the last known state of the geometry in the GeometricModel that this Drawing depends on."/>
55+
<ECProperty propertyName="lastKnownGeometricGuid" typeName="binary" extendedTypeName="BeGuid" displayLabel="Last Known Geometric Guid" description="The GUID of the last known state of the geometry in the GeometricModel that this Drawing depends on."/>
5656
</ECRelationshipClass>
5757

5858
</ECSchema>
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- ==================================================================================
3+
| * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
4+
| * See LICENSE.md in the project root for license terms and full copyright notice.
5+
======================================================================================= -->
6+
<ECSchema schemaName="DrawingProductionExperimental" alias="dpex" version="02.00.00" xmlns="http://www.bentley.com/schemas/Bentley.ECXML.3.2" description="This schema contains an experimental implementation of concepts associated with Drawing Production.">
7+
<ECSchemaReference name="CoreCustomAttributes" version="01.00.03" alias="CoreCA" />
8+
<ECSchemaReference name="BisCustomAttributes" version="01.00.00" alias="bisCA"/>
9+
<ECSchemaReference name="BisCore" version="01.00.16" alias="bis"/>
10+
11+
<ECCustomAttributes>
12+
<ProductionStatus xmlns="CoreCustomAttributes.01.00.03">
13+
<SupportedUse>FieldTesting</SupportedUse>
14+
</ProductionStatus>
15+
<SchemaLayerInfo xmlns="BisCustomAttributes.01.00.00">
16+
<Value>Application</Value>
17+
</SchemaLayerInfo>
18+
</ECCustomAttributes>
19+
20+
<ECEntityClass typeName="ViewAttachmentPlaceHolder" displayLabel="View Attachment Placeholder" modifier="None" description="An area on a sheet where a view is to be placed.">
21+
<BaseClass>bis:GraphicalElement2d</BaseClass>
22+
</ECEntityClass>
23+
<ECEntityClass typeName="ViewAttachmentWithPlaceHolder" displayLabel="View Attachment (with placeholder)" modifier="None" description="A ViewAttachment that fills a ViewAttachmentPlaceHolder region on a sheet.">
24+
<BaseClass>bis:ViewAttachment</BaseClass>
25+
<ECNavigationProperty propertyName="placeHolder" relationshipName="ViewAttachmentFulfillsPlaceHolder" direction="Forward" displayLabel="PlaceHolder" description="The placeholder this ViewAttachment fills."/>
26+
</ECEntityClass>
27+
28+
<ECRelationshipClass typeName="ViewAttachmentFulfillsPlaceHolder" strength="referencing" modifier="Sealed"
29+
description="Relates a ViewAttachmentWithPlaceHolder to the ViewAttachmentPlaceHolder it fills.">
30+
<Source multiplicity="(0..*)" roleLabel="fills" polymorphic="true">
31+
<Class class="ViewAttachmentWithPlaceHolder"/>
32+
</Source>
33+
<Target multiplicity="(0..1)" roleLabel="is filled by" polymorphic="true">
34+
<Class class="ViewAttachmentPlaceHolder"/>
35+
</Target>
36+
</ECRelationshipClass>
37+
38+
<ECRelationshipClass typeName="DrawingDependsOnElement" strength="referencing" modifier="None" description="Relates a Drawing to an Element that it depends on.">
39+
<BaseClass>bis:ElementRefersToElements</BaseClass>
40+
<Source multiplicity="(0..*)" roleLabel="depends" polymorphic="true">
41+
<Class class="bis:Drawing"/>
42+
</Source>
43+
<Target multiplicity="(0..*)" roleLabel="is depended on" polymorphic="true">
44+
<Class class="bis:Element"/>
45+
</Target>
46+
</ECRelationshipClass>
47+
<ECRelationshipClass typeName="DrawingDependsOnGeometryInGeometricModel" strength="referencing" modifier="Sealed" description="Relates a Drawing to geometry in a GeometricModel that it depends on, tracking the last known geometry GUID.">
48+
<BaseClass>DrawingDependsOnElement</BaseClass>
49+
<Source multiplicity="(0..*)" roleLabel="depends" polymorphic="true">
50+
<Class class="bis:Drawing"/>
51+
</Source>
52+
<Target multiplicity="(0..*)" roleLabel="is depended on" polymorphic="true">
53+
<Class class="bis:GeometricElement"/>
54+
</Target>
55+
<ECProperty propertyName="lastKnownGeometricGuid" typeName="binary" extendedTypeName="BeGuid" displayLabel="Last Known Geometric Guid" description="The GUID of the last known state of the geometry in the GeometricModel that this Drawing depends on."/>
56+
</ECRelationshipClass>
57+
58+
</ECSchema>

SchemaInventory.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7395,7 +7395,7 @@
73957395
"name": "DrawingProductionExperimental",
73967396
"path": "Domains\\4-Application\\DrawingProduction\\DrawingProductionExperimental.ecschema.xml",
73977397
"released": false,
7398-
"version": "01.00.03",
7398+
"version": "02.00.01",
73997399
"comment": "Working Copy",
74007400
"sha1": "",
74017401
"author": "Josh.Schifter",
@@ -7448,6 +7448,21 @@
74487448
"dynamic": "No",
74497449
"approved": "Yes",
74507450
"localizations": []
7451+
},
7452+
{
7453+
"name": "DrawingProductionExperimental",
7454+
"path": "Domains\\4-Application\\DrawingProduction\\Released\\DrawingProductionExperimental.02.00.00.ecschema.xml",
7455+
"released": true,
7456+
"version": "02.00.00",
7457+
"comment": "Correcting type string to be guid",
7458+
"verifier": "Caleb.Shafer",
7459+
"sha1": "327d17b35c1b658c36899239ebc83df98722525b",
7460+
"verified": "Yes",
7461+
"author": "Nathan.Elrod",
7462+
"date": "6/8/2026",
7463+
"dynamic": "No",
7464+
"approved": "Yes",
7465+
"localizations": []
74517466
}
74527467
],
74537468
"CivilUnits": [

0 commit comments

Comments
 (0)