Visual Basic Customization

Visual Basic Customization

Reply
Contributor
ozkan_0712
Posts: 19
Registered: ‎03-18-2012
Message 1 of 5 (414 Views)

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

414 Views, 4 Replies
04-23-2012 05:15 AM

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..

 

 

*Expert Elite*
Alfred.NESWADBA
Posts: 9,610
Registered: ‎06-29-2007
Message 2 of 5 (402 Views)

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

04-23-2012 09:50 AM in reply to: ozkan_0712

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
-------------------------------------------------------------------------
Contributor
ozkan_0712
Posts: 19
Registered: ‎03-18-2012
Message 3 of 5 (399 Views)

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

04-23-2012 10:06 AM in reply to: Alfred.NESWADBA

Sorry I don't understand excatly.

 

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

 

I want to use VBA.

 

Thanks for helpss

 

*Expert Elite*
Alfred.NESWADBA
Posts: 9,610
Registered: ‎06-29-2007
Message 4 of 5 (394 Views)

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

04-23-2012 11:38 AM in reply to: ozkan_0712

Hi,

 

>> Sorry I don't understand excatly.

Seems same for me :smileywink:

 

>> 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
-------------------------------------------------------------------------
Contributor
ozkan_0712
Posts: 19
Registered: ‎03-18-2012
Message 5 of 5 (393 Views)

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

04-23-2012 12:04 PM in reply to: Alfred.NESWADBA

Thanks.

 

I will  try it.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.