Toggle navigation
Login
Register
Itoo Software Forum
»
Forest Pack
»
Forest Pro (*)
»
How can I collect the indexes of the trees in selection via maxscript ?
« previous
next »
Print
Pages: [
1
]
Author
Topic: How can I collect the indexes of the trees in selection via maxscript ? (Read 1463 times)
cc8boy
Sr. Member
Posts: 286
I'll do my best.Welcome to www.c7design.cn .
How can I collect the indexes of the trees in selection via maxscript ?
«
on:
May 03, 2017, 09:26:43 AM »
Hello everyone,
How can I collect the indexes of the trees in selection via maxscript ?
I tried input ”showinterfaces $” in MAXscript listener and I got these below.
--------------------------------------------------------------------------------
Interface: trees
Properties:
Methods:
<void>create <point3>p <float>width <float>height <integer>geomid
<void>delete <integer>n
<void>edit <integer>n <float>width <float>height <integer>geomid <integer>seed
<integer>count()
<void>move <integer>n <point3>p
<void>setPosition <integer>n <point3>p
<void>setRotation <integer>n <point3>angle
<void>setWidth <integer>n <float>width
<void>setHeight <integer>n <float>height
<void>setSize <integer>n <point3>size
<void>setGeomID <integer>n <integer>geomid
<void>setSeed <integer>n <integer>seed
<point3>getPosition <integer>n
<float>getWidth <integer>n
<float>getHeight <integer>n
<point3>getSize <integer>n
<point3>getRotation <integer>n
<integer>getGeomID <integer>n
<integer>getSeed <integer>n
<matrix3 by value>getFullTransform <integer>n
<void>update()
<void>update_ui()
<boolean>getRenderID <INTPTR>shadeContext_ptr <&integer>itemID <&integer>elemID
itemID is In and Out parameter
elemID is In and Out parameter
<INTPTR>getRenderNode <integer>n
<INTPTR>getRenderNodes <&integer>numnodes
numnodes is In and Out parameter
<void>clearRenderNodes()
<boolean>getRenderData <INTPTR>data <integer>itemIndex <integer>faceNumber
Actions:
Interface: ForestPack
Properties:
Methods:
<void>registerEngine()
<integer>exportData <TSTR>filename <TSTR>fieldlist
<void>setEngineFeatures <INTPTR>features
Actions:
Interface: scatalog
Properties:
Methods:
<boolean>openBrowser()
<boolean>closeBrowser()
<void>refresh()
<integer>getMacroCount()
<TSTR by value>evalMacro <&TSTR>name
name is In and Out parameter
<TSTR by value>getMacro <&TSTR>name
name is In and Out parameter
<boolean>setMacro <&TSTR>name <&TSTR>value
name is In and Out parameter
value is In and Out parameter
<boolean>setOverlay <&TSTR>bitmap <integer>alpha
bitmap is In and Out parameter
<TSTR by value>getSelItemName()
<TSTR by value>getSelItemProp <&TSTR>prop
prop is In and Out parameter
<TSTR by value>getSelItemCustomProp <&TSTR>prop
prop is In and Out parameter
<integer>getItemCount()
<integer>getSelItem()
<boolean>setSelItem <integer>index
Actions:
Interface: catalog
Properties:
Methods:
<void>refresh()
<TSTR by value>evalMacro <&TSTR>name
name is In and Out parameter
<TSTR by value>getMacro <&TSTR>name
name is In and Out parameter
<boolean>setMacro <&TSTR>name <&TSTR>value
name is In and Out parameter
value is In and Out parameter
<boolean>setOverlay <&TSTR>bitmap <integer>alpha
bitmap is In and Out parameter
<TSTR by value>getSelItemName()
Actions:
--------------------------------------------------------------------------------
My question is how can I collect the indexes of the trees in selection when the Forest is in “subobjectLevel = 1” ?
It seems there are no command about the indexes of selection. Can you show me some sample commands in MAXscript ?
(MAX2014 64bit Vray 3.3 Forest pro pack 4.4.1)
I am looking forward to your answer.
Logged
We are working hard in virtual effects in 3DSMAX. Welcome to our website in China.
Michal Karmazín
iToo Software
Hero Member
Posts: 2477
Re: How can I collect the indexes of the trees in selection via maxscript ?
«
Reply #1 on:
May 03, 2017, 12:28:23 PM »
Hi,
I'm afraid, it's not currently possible to access by maxscript values of the sub-object level selection.
Best regards,
Logged
cc8boy
Sr. Member
Posts: 286
I'll do my best.Welcome to www.c7design.cn .
Re: How can I collect the indexes of the trees in selection via maxscript ?
«
Reply #2 on:
May 07, 2017, 04:31:32 AM »
Oh my god. This is very very important step in my new Maxscript tool. If it is not possible to access by maxscript. My maxscript will be failed.
Can you show me any workarounds ?
(MAX2014 64bit Vray 3.3 Forest pro pack 4.4.1)
Logged
We are working hard in virtual effects in 3DSMAX. Welcome to our website in China.
Print
Pages: [
1
]
« previous
next »
Itoo Software Forum
»
Forest Pack
»
Forest Pro (*)
»
How can I collect the indexes of the trees in selection via maxscript ?
×
Welcome,Guest
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length