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

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





Posted: Sat Mar 26, 2005 10:02 am    Post subject: SnapRotationAngle Reply with quote

Hello all

I am rotating the snapangle of the drawing using the
SnapRotationAngle property of the active view port.
It works fine but the problem i am facing is that the drawing
changes its zoom display ( it automatically does zoom all).Is
there anyway to prevent this.

I require similar to autocad snap command and rotate option

Dim newBasePoint(0 To 1) As Double
rotationangle=0.5
ThisDrawing.ActiveViewport.SnapBasePoint = newBasePoint
ThisDrawing.Regen acActiveViewport
' Change the snap rotation angle
ThisDrawing.ActiveViewport.SnapRotationAngle = rotationangle

' reset the viewport
ThisDrawing.ActiveViewport = ThisDrawing.ActiveViewport

Thanks in advance
Regards
Sri

Back to top
srinivasan
Guest





Posted: Mon Mar 28, 2005 10:02 am    Post subject: Re: SnapRotationAngle Reply with quote

Is there any way to do this.

regards
Sri
Back to top
srinivasan
Guest





Posted: Thu Mar 31, 2005 10:03 am    Post subject: Re: SnapRotationAngle Reply with quote

hi i got it in another way.
The system variable snapang does it well.

regards
Sri

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