Opening an "edit properties" window from scripting

Discussions concerning programming of SOFTIMAGE©
Post Reply
TwirlySocrates
Posts: 9
Joined: 15 Jan 2014, 02:47

Opening an "edit properties" window from scripting

Post by TwirlySocrates » 28 Jan 2014, 18:22

I have a script that creates an object and defines a few custom parameters.

If I navigate through explorer, find the custom parameter node and hit "enter", it opens a window that lets me edit the parameters.
Is there a scripting command which allows me to open this window?

It's not important, but only a convenience. Whenever anyone runs this script the next thing they'll do is navigate to the custom parameters and start tinkering with them.

Thanks in advance!

edit: I prefer python, but anything will do.

User avatar
myara
Posts: 403
Joined: 28 Sep 2011, 10:33

Re: Opening an "edit properties" window from scripting

Post by myara » 28 Jan 2014, 18:29

Not in front of my PC but I think inspectobj(your_customprop) should do it
M.Yara
Character Modeler | Softimage Generalist (sort of)

TwirlySocrates
Posts: 9
Joined: 15 Jan 2014, 02:47

Re: Opening an "edit properties" window from scripting

Post by TwirlySocrates » 28 Jan 2014, 19:08

Yes! Application.inspectobj("datapath") did it! Thanks!

EricTRocks
Moderator
Posts: 754
Joined: 25 Nov 2009, 01:41
Contact:

Re: Opening an "edit properties" window from scripting

Post by EricTRocks » 29 Jan 2014, 01:54

Minor note here, ensure you use the correct capitalization for command names as sometimes Python gets picky about it.

Application.InspectObj()
Eric Thivierge
Lead Kraken Developer, Fabric Engine
http://fabric-engine.github.io/Kraken

Post Reply

Who is online

Users browsing this forum: No registered users and 23 guests