VBA code for drawing 3d rectangle shape having centre of placing at the bottom

Anonymous

VBA code for drawing 3d rectangle shape having centre of placing at the bottom

Anonymous
Not applicable

i am trying to generate 3d rectangular shape which should take the coordinate thru the user form to place it in the autocad drawing with center of one face (Lower one), not the centre of cuboid. i am finding coding which ask the pick the centre on drawing and then take it for centre of cuboid. i want to generate 3d cuboid asking dimension and centre coodrinate thru user form only.

 

please help

0 Likes
Reply
1,074 Views
3 Replies
Replies (3)

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

>> thru the user form to place it in the autocad drawing with

>> center of one face (Lower one), not the centre of cuboid

Can you please show a drawing so we can understand what you really mean ... with the "3d rectangle" drawn manually (so we can also see the result you'll try to achieve).

 

Also show the code you currently have so we see which step you are on and need to be solved.

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2025
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes

Anonymous
Not applicable

That was good.

0 Likes

Anonymous
Not applicable

Thanks for your conern. This problem solved by adding the dimension value to the z axis coordinate.

 

Thanka a lot!

0 Likes