Commit f48963c0 authored by Alexander Schrode's avatar Alexander Schrode Committed by oroulet

abstract default is False

parent 03370874
......@@ -512,6 +512,8 @@ class XmlImporter:
attrs.ValueRank = obj.rank
if obj.abstract:
attrs.IsAbstract = obj.abstract
else:
obj.abstract = False
if obj.dimensions:
attrs.ArrayDimensions = obj.dimensions
node.NodeAttributes = attrs
......@@ -550,6 +552,8 @@ class XmlImporter:
attrs.InverseName = ua.LocalizedText(obj.inversename)
if obj.abstract:
attrs.IsAbstract = obj.abstract
else:
obj.abstract = False
if obj.symmetric:
attrs.Symmetric = obj.symmetric
node.NodeAttributes = attrs
......@@ -566,6 +570,8 @@ class XmlImporter:
attrs.DisplayName = ua.LocalizedText(obj.displayname)
if obj.abstract:
attrs.IsAbstract = obj.abstract
else:
obj.abstract = False
if not obj.definitions:
pass
else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment