Archi Forum

Discussion Boards => jArchi => Topic started by: DaveVint on January 16, 2020, 17:12:19 PM

Title: View References in jArchi
Post by: DaveVint on January 16, 2020, 17:12:19 PM
Hi,

I'm trying to create a View Reference object in a diagram through jArchi, but can't see how. I can iterate over a diagram and can find an existing one as a VisualObject with the type as 'archimate-diagram-model' but cannot create one. Have I missed something?

Cheers,

Dave
Title: Re: View References in jArchi
Post by: Phil Beauvoir on January 16, 2020, 17:30:03 PM
That hasn't been implemented yet. It's on the "to do" list (along with several other things).
Title: Re: View References in jArchi
Post by: DaveVint on January 17, 2020, 10:32:22 AM
Thanks!
Title: Re: View References in jArchi
Post by: Phil Beauvoir on January 29, 2020, 13:38:55 PM
I've committed the code for this to the jArchi git repo. Will be in jArchi 0.7.1 or 0.8.0 depending on what other features get added.
Title: Re: View References in jArchi
Post by: DaveVint on January 31, 2020, 11:38:48 AM
Excellent. Thanks Phil.
Title: Re: View References in jArchi
Post by: Phil Beauvoir on January 31, 2020, 15:03:03 PM
Now in 0.7.1

See the wiki for the details

https://github.com/archimatetool/archi-scripting-plugin/wiki/jArchi-Object#createviewreference

https://github.com/archimatetool/archi-scripting-plugin/wiki/jArchi-Object#createviewreference2
Title: Re: View References in jArchi
Post by: DaveVint on February 02, 2020, 12:24:32 PM
Saw that and downloaded. Thanks Phil. I'll try this out next week.