Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: OB on August 10, 2024, 03:41:36 pm

Title: Library "item_select" event
Post by: OB on August 10, 2024, 03:41:36 pm
Hello
From the library creation tutorial , here
"<maxscript file="filename.ms" script='functionName();' execute_on="item_select"/>" is the line when we are calling a maxscript function when an item is selected.
My question is - can we get the name of the selected item, when we double click it? I see a macros for different lirary parameters, but there are no object related macroses.

And there is a second thing - can I call library "refresh" event from the maxscript ?
Thank you
Title: Re: Library "item_select" event
Post by: Michal KarmazĂ­n on August 12, 2024, 11:29:48 am
The refresh() and getSelItemName() methods are available within the scatalog interface, but they aren't directly accessible at the moment. It needs to be reviewed by our main developers. Thanks for your comprehension.

Best regards,