Itoo Software Forum

Author Topic: Library "item_select" event  (Read 10668 times)

OB

  • Newbie
  • *
  • Posts: 39
Library "item_select" event
« 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

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2960
Re: Library "item_select" event
« Reply #1 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,