can not access aec wall with maxscript

can not access aec wall with maxscript

hainamcad
Advocate Advocate
1,038 Views
6 Replies
Message 1 of 7

can not access aec wall with maxscript

hainamcad
Advocate
Advocate

i can not create wall with maxscript, can not change wall width and height with maxscript , can not use " pick spline " function with maxscript ? can you help me ?

thank and best regard from vietnam

0 Likes
Accepted solutions (1)
1,039 Views
6 Replies
Replies (6)
Message 2 of 7

denisT.MaxDoctor
Advisor
Advisor

Are you sure you are talking about AEO Wall, not AEO Railing?

0 Likes
Message 3 of 7

hainamcad
Advocate
Advocate

thank for your reply , i said AEC WALL , example :

a = wall ()
show a

-----------------------------------

maxscript listenner :

$Wall:Wall002 @ [0.000000,0.000000,0.000000]
.Generate_Mapping_Coords : integer
.Justification : integer
.height : float
.width : float
.realWorldMapSize : boolean
false

-----------------------------------

but i can not use a.height = 1000 ? is it a 3dsmax bug ?

0 Likes
Message 4 of 7

denisT.MaxDoctor
Advisor
Advisor

well... that's bad. bad for you ...

 

The Wall Object is not a friend of the MXS tools developer. Perhaps you can set and change all UI settings using the Windows API, but I think it's not worth it.

Just find any better built-in solution. At least that's what I would do.

 

0 Likes
Message 5 of 7

Swordslayer
Advisor
Advisor

@denisT.MaxDoctor wrote:

well... that's bad. bad for you ...

 

The Wall Object is not a friend of the MXS tools developer. Perhaps you can set and change all UI settings using the Windows API, but I think it's not worth it.

Just find any better built-in solution. At least that's what I would do. 


The UI doesn't expose any, they're just creation time parameters (and setting them works as such so next time you create the wall through UI, the height will use the value). While it might be possible to startObjectCreation and simulate mouseclicks, I don't think that's worth it, better use spline with Extrude and Shell w/ Straighten Corners checked, for example.

0 Likes
Message 6 of 7

hainamcad
Advocate
Advocate

thank you 

0 Likes
Message 7 of 7

Swordslayer
Advisor
Advisor
Accepted solution

That's a good point. Though technically not a bug but a rather unfortunate design, you can try both filing a bug report and suggesting that as a new feature (see the links in my signature).

0 Likes