Setting redefined / subsetted properties?

MagicDraw OpenAPI, scripting related questions and discussions

Moderator: Moderators

Setting redefined / subsetted properties?

Postby bcole » Tue Apr 30, 2019 4:27 am

I've been scanning through the OpenAPI but cannot find a "setRedefinedProperty" or "setSubsettedProperty" method. I looked at both the Property class and also ModelHelper but no luck. How does one modify the redefined property list?
bcole
Forum Newbie
Forum Newbie
 
Posts: 16
Posts Rating:0
Joined: Sat Feb 10, 2018 8:03 am

Re: Setting redefined / subsetted properties?

Postby boris_h » Mon May 13, 2019 6:01 am

Hi,

not sure if this applies here, but sometimes there is no specifiy "setXXX" method. Then you have to do something like this:
Code: Select all
prop.getRedefinedProperty().add(redefProp)
boris_h
Forum Beginner
Forum Beginner
 
Posts: 76
Posts Rating:1
Joined: Tue May 17, 2016 8:26 am


Return to Programmatic Extendibility

Who is online

Users browsing this forum: No registered users and 0 guests