Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
Hello PTC-Community,
does anyone have experience with creating SysML-Blocks via the Integrity Modeler Automation Interface? Whenever I try to create a Block Property I just get the UML alternative. Also, I did not find a way to specify the name of the newly created part yet. Support would be really appreciated!
Thank you and best regards
Max
Solved! Go to Solution.
Hello,
AFAIK, there is no way to create SysML objects in one go with the API; it is necessary first to create the item, then add to the created item the blockproperty stereotype.
The relevant Help page is here:
regards,
Patrick
Hello,
AFAIK, there is no way to create SysML objects in one go with the API; it is necessary first to create the item, then add to the created item the blockproperty stereotype.
The relevant Help page is here:
regards,
Patrick
Hello Patrick,
thanks a lot, this really helped me out. For everyone facing a similar problem, this is the code I used to create a new SysML Block property called "NewBlockProperty" (Type Real) for the SysML Block "Block1":
Hi,
Take a look - "Overview of SysML support (SysML)": https://support.ptc.com/help/modeler/r9.1/en/index.html#page/Integrity_Modeler/sysml/Overview_of_SysML_support.html