Hello Spectrum gurus,
we looking for a way to initiate the autoplacement of objects within a topology container via commandline or webservice.
Reason to do so is, that we don't want to do this simple task for hundreds of containers manually via OneClick UI.
manual way: select a topology container, put it into edit mode, select arrangement (manual, tree, radial), save
ideas so far:
- set attribute AutoPlace (0x12a92) to one of the Integer values: none (1), radial(2), tree(3)
- set some other attribute's value to make Spectrum aware of the new requirement
=> several tries without success
- run a vnmsh action code against the container model_handle
=> which action code?
An ideas on this?
Try using the AutoPlace utility located in the $SPECROOT/SS-Tools directory.
c:\win32app\SPECTRUM\SS-Tools\AutoPlace.exe -mh modelhandle [-center modelhandle] [-type Radial|Tree][-diameter number] [-wgeometry WidthxHeight] [-zoom][-minwidth width] [-minheight height] [-help]
Default values are:
Diameter - (size of icon) Type - Radial Window Geometry - 600x600 Minimum Width - 500 Minimum Height - 100 Zoom - (False)
There could be more than one center model, one for each tree.
this is a great pointer. A few short tests showed this AutoPlace utility to do the job.
I guess it does a similar thing to my option 2, but just CA might confirm this and reveal the action code.
To my knowledge there is no action code for this.
It would be great to get an action code for this. I have often wondered if there already was one, but now I will no longer need to wonder! Thanks!
Do you know if it is possible to perform this using REST API?
To my knowledge this cannot be performed using REST API.