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

Viewport standard scale

1 REPLY 1
Reply
Message 1 of 2
Anonymous
183 Views, 1 Reply

Viewport standard scale

AcadPViewport.StandardScale returns an integer that corresponds to an
enumerated constant. Any idea how to convert this integer into the string
representing the scale?
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

Build a Select Case structure in a function that returns a string.

Example:

Select Case variable
Case 2
Function = "1=1"

.
.
.

End Select


--
Get on the emailing list for notification of the NEW "AutoCAD Visual Basic
Programmers Reference" - the ultimate guide to Visual Basic programming for
R14/2000/2000i
and 2002 by clicking on the link below
mailto:omnisource@worldnet.att.net?subject=NewVBTitle

Joe Sutphin
Author of "AutoCAD 2000 VBA Programmers Reference"
ISBN #1861002564


"Tom Hilton" wrote in message
news:A2A06AD9B6D7ED03F54B6F36CD009A46@in.WebX.maYIadrTaRb...
> AcadPViewport.StandardScale returns an integer that corresponds to an
> enumerated constant. Any idea how to convert this integer into the string
> representing the scale?
>
>

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

Post to forums  

Forma Design Contest


AutoCAD Beta