I am trying to use the script “Import_physical_components_from_xlsx.py”.
I have no error in the console but instead having the correct name of the new Component but only PC
I have just detected a mark error in front of the line
org.polarsys.capella.core.model.helpers.CapellaElementExt.creationService(pc.get_java_object())
undefined variable: org
What does it means? How can I fix the issue?
This error is a false positive from PyDev, EASE can resolve it at runtime. You can follow this documentation to remove the error from PyDev. You need to add org.
Thanks Yvan, it works but unfortunately I don’t get the right behavior.
The name associated with the component created is PC and not “New Component” as expected.