VBA
Discuss AutoCAD ActiveX and VBA (Visual Basic for Applications) questions here.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How can I show 3D Solid objec's name on isometric view?

4 REPLIES 4
Reply
Message 1 of 5
ozkan_0712
613 Views, 4 Replies

How can I show 3D Solid objec's name on isometric view?

Hi. Everybody,

 

I wrote a program that I can give a name automaticly for all 3d solid objects.

 

But I want to show a little box on isometric view every names with VBA codes.

 

How can I show 3D Solid objec's name on isometric view?

 

I try to show on Attachment.

 

Thanks for helps..

 

 

4 REPLIES 4
Message 2 of 5

Hi,

 

I would set the UCS to View, then check the geometric extents of your 3DSolid ==> convert that coordinates (WCS) to UCS and that's where your object is on screen currently and where you can place the text.

 

Does that be a help for you?

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at ... blog.hollaus.at ... CDay 2024
------------------------------------------------------------------------------------
(not an Autodesk consultant)
Message 3 of 5

Sorry I don't understand excatly.

 

Has it got any code to show 3D solid parts?

 

I want to use VBA.

 

Thanks for helpss

 

Message 4 of 5

Hi,

 

>> Sorry I don't understand excatly.

Seems same for me 😉

 

>> Has it got any code to show 3D solid parts?

I have not attached any code. I just wrote one idea of what I would do in case I want to have "your name" written above a 3DSolid in an isometric view.

Create a text. Use the UCS from the view, that's it.

 

If you want anything else than a text to write the name of an object then I really don't understand your question.

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at ... blog.hollaus.at ... CDay 2024
------------------------------------------------------------------------------------
(not an Autodesk consultant)
Message 5 of 5

Thanks.

 

I will  try it.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost