file = anImportFeature.string(aFieldName)
assert file, "{0}: Can not receive string field {1}".format(theType, aFieldName)
file.setValue(theFile)
- anImportFeature.execute()
aSession.finishOperation()
# Check results
aSession.startOperation("Import XAO")
anImportFeature = aPart.addFeature("Import")
anImportFeature.string("file_path").setValue("Data/test.xao")
- anImportFeature.execute()
aSession.finishOperation()
# Check results
#=========================================================================
# Create a shape imported from XAO
#=========================================================================
-# testImportXAO()
+ testImportXAO()
#=========================================================================
# End of test
#=========================================================================