mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 02:47:48 +00:00
Minor fix
This commit is contained in:
@@ -723,7 +723,7 @@ class OverrideModeSetObject(bpy.types.Operator):
|
||||
bpy.ops.object.mode_set(mode="EDIT", toggle=True)
|
||||
|
||||
if not tool.Ifc.get():
|
||||
return
|
||||
return {"FINISHED"}
|
||||
|
||||
objs = context.selected_objects or [context.active_object]
|
||||
|
||||
|
||||
@@ -78,10 +78,10 @@ class Ids:
|
||||
|
||||
def asdict(self):
|
||||
ids_dict = {
|
||||
"@xmlns": "https://standards.buildingsmart.org/IDS",
|
||||
"@xmlns:xs": "https://www.w3.org/2001/XMLSchema",
|
||||
"@xmlns:xsi": "https://www.w3.org/2001/XMLSchema-instance",
|
||||
"@xsi:schemaLocation": "https://standards.buildingsmart.org/IDS/ids_09.xsd",
|
||||
"@xmlns": "http://standards.buildingsmart.org/IDS",
|
||||
"@xmlns:xs": "http://www.w3.org/2001/XMLSchema",
|
||||
"@xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
|
||||
"@xsi:schemaLocation": "http://standards.buildingsmart.org/IDS/ids_09.xsd",
|
||||
"info": self.info,
|
||||
"specifications": {"specification": []},
|
||||
}
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
</xs:sequence>
|
||||
<xs:attribute name="measure" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>This is the name of an IFC Defined Types. See the documentation and default units on https://github.com/buildingSMART/IDS/blob/master/Documentation/Physical_Quantities_and_Units.md</xs:documentation>
|
||||
<xs:documentation>This is the name of an IFC Defined Types. See the documentation and default units on https://github.com/buildingSMART/IDS/blob/master/Documentation/units.md</xs:documentation>
|
||||
</xs:annotation>
|
||||
<!-- there is a request to make this an ids:value -->
|
||||
</xs:attribute>
|
||||
@@ -248,4 +248,4 @@
|
||||
<xs:enumeration value="IfcRelNests"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:schema>
|
||||
</xs:schema>
|
||||
|
||||
Reference in New Issue
Block a user