How to set View in a ViewPort
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
How to set View in a ViewPort

 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA
Author Message
Joseph Pods
Guest





Posted: Tue Dec 28, 2004 9:24 pm    Post subject: How to set View in a ViewPort Reply with quote

I don't want to use SendCommand.

I want to draw Leader line with Text. The problem I have is to draw Leader
line, I have to be in Plan View (eg Top, Bottom, Right, Left, Front, Back).
How do I set the active viewport to one of this Plan View?

I also want to extend that so user can specify the Plan View by specifying
the UCS X and Y vectors.
Eg user will specify X (0,1,0) and Y (0,0,1) ==> This is actually
equivalent to Right hand side view

What is the relationship between Viewport, View and UCS? When I change to
Top view (Command: -View _Top), the UCS is actually different when I change
to Right view (Command: -View _Right).
I look in the VBA Object model for View, there are Direction, Center and
Target Properties, what are they?

Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Powered by phpBB