cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Unable to populate a StateDiagram using automation interface

JMHerzog
4-Participant

Unable to populate a StateDiagram using automation interface

I'm trying to populate a StateDiagram with only a subset of State items contained in the StateMachine (State having a specific stereotype), but I'm unable to create new Symbol for each State to add in the state diagram.

The following returns this error "Unable to create an object across this role (Class=2095, Role=8270)":

    Set NewSymbol = MyState.Add("SD State")

 

Any idea on the way to create a new symbol for a State Item ?

0 REPLIES 0
Top Tags