Programmatically creating an uneven wall

Programmatically creating an uneven wall

dmitriZTSCC
Contributor Contributor
501 Views
3 Replies
Message 1 of 4

Programmatically creating an uneven wall

dmitriZTSCC
Contributor
Contributor

Using Autocad's WALLADD command, I can create a wall whose height is the same on both sides. How can I use scripting to select the Roof Line Start point and adjust its position?

0 Likes
502 Views
3 Replies
Replies (3)
Message 2 of 4

dbroad
Mentor
Mentor

This isn't really a scripting forum.  You can adjust the profile of a wall as seen in elevation either by using walllineedit or by projecting the wall to an existing roof or roof slab object.

Architect, Registered NC, VA, SC, & GA.
0 Likes
Message 3 of 4

dmitriZTSCC
Contributor
Contributor

I tried WALLLINEEDIT but despite appearing to be able to adjust the wall profile to a polyline, it doesn't actually accept an ordinary polyline. Also I'm not clear what are the exact commands that need to be typed in. I wonder if it's possible to instead simply extrude a polyline and then somehow convert the resulting solid into a wall?

0 Likes
Message 4 of 4

dbroad
Mentor
Mentor

This appears to be a bug that should be reported.  The ribbon tool is active during an in-place edit session but any existing polylines are greyed-out if the ribbon button labelled "Project to Polyline" is selected.  Either the ribbon code is wrong and that button shouldn't appear in the context of an in-place edit or the command is hobbled.  Either way the interface is misleading.

 

As a workaround, if you want to project to an existing polyline, don't use the in-place edit option. Instead, select Roof/Floor Line-> Modify roof line.  That executes the aecroofline command.  In that command, use the Project to Polyline option (enter P or right click and choose that option.).  It will allow you to select the polyline.

Architect, Registered NC, VA, SC, & GA.
0 Likes