You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following line is in the "replace" branch of Player Piano: type_to_get = com.nomagic.magicdraw.uml.ClassifierFinder.findClassifierOrDataType(live_project, 'String', [], sysml_package);
The variable sysml_package isn't defined anywhere. Based on the context, variable name, and method documentation, sysml_package should be set to the element that is the SysML profile package.
I'm not super familiar with what Player Piano is trying to do in this section, and I haven't yet encountered an error caused by this line. It would be worth having someone more familiar with RMT come up with a test case that actually makes use of this part of the script.
The text was updated successfully, but these errors were encountered:
The following line is in the "replace" branch of Player Piano:
type_to_get = com.nomagic.magicdraw.uml.ClassifierFinder.findClassifierOrDataType(live_project, 'String', [], sysml_package);
The variable
sysml_package
isn't defined anywhere. Based on the context, variable name, and method documentation,sysml_package
should be set to the element that is the SysML profile package.Looking at the findClassifierOrDataType() method documentation from 19.0 SP4 and later versions It doesn't look like this method has changed since at least that version. So any fix is probably independent of version changes
I'm not super familiar with what Player Piano is trying to do in this section, and I haven't yet encountered an error caused by this line. It would be worth having someone more familiar with RMT come up with a test case that actually makes use of this part of the script.
The text was updated successfully, but these errors were encountered: