Commit 511fe4e0 authored by Bob Obara's avatar Bob Obara
Browse files

ENH: Replacing objectValue method

parent 67f950d4
Pipeline #234742 passed with stage
......@@ -148,7 +148,7 @@ def init_scope(spec):
scope.sim_atts = smtk.attribute.Resource.CastTo(spec.find('attributes').value())
# Access the model assigned to the export operation
scope.model = smtk.model.Entity.CastTo(spec.find('model').objectValue(0))
scope.model = smtk.model.Entity.CastTo(spec.find('model').value(0))
scope.model_resource = scope.model.resource()
# Set scope properties to defaults
......
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