View Full Version : cannoscale in paperspace
seanjames
2009-10-05, 07:45 PM
We use the same company specific menu for both AutoCAD 2010 and AutoCAD MEP 2010. I have checked both of our templates and AutoCAD 2010 cannoscale in paper space is set to "1:1" and the -dwgunits is set to "inches". MEP 2010 cannoscale is set to "1'-0" = 1'-0"" and the -dwgunits is set to "inches". I need them to be the same it is causing annotative text and blocks that are used in both AutoCAD and MEP not to show up in one of the programs but it does in the other. Otherwise I need to add both scales to the font styles and the blocks. I would prefer to only change the template though. I'm open to any ideas.
Thanks,
RobertB
2009-10-05, 11:45 PM
You can change the MEP template to use 1:1. We did that here (for better or worse, I'm still undecided).
This is one of the reasons I hate Autodesk's decision to base the display of annotative objects on its name rather than its value.
seanjames
2009-10-06, 02:13 PM
You can change the MEP template to use 1:1.
Robert,
That would be great only if I could figure out how to change it. When I create the 1:1 scale and then change to paperspace and try and set the cannoscale to 1:1 I get an error.
"*invalid" cannot set the cannoscale to that value."
Is there another way of setting this value?
Thanks,
RobertB
2009-10-06, 07:18 PM
That would be great only if I could figure out how to change it. When I create the 1:1 scale and then change to paperspace and try and set the cannoscale to 1:1 I get an error.
"*invalid" cannot set the cannoscale to that value."
Is there another way of setting this value?I've just noticed what you are talking about. I cannot believe I haven't seen this issue before now. Of course, we are all running AutoCAD MEP here, but if you use Acad.dwt you still get the same issue even in an MEP profile.
I'm not sure how to address this. I'm going to do some research.
seanjames
2009-10-22, 03:28 PM
After much frustration and searching this fixed my issue!!!!
http://discussion.autodesk.com/forums/thread.jspa?messageID=5797488�
"Autodesk refuses to admit this is a bug and they even refer to it as a "wish list" item... I have managed a programmatical fix... The code is as follows:
';;;; No special References are required...
';;;; The sub below will only work if TILEMODE is off and
';;;; Pspace is active...
'
'
';;;; The code below can have additional scales added to it
';;;; depending on what your office requires...
';;;; Site scales are not included below...
Sub VpAnnoScale()
On Error Resume Next
Dim xEnt As AcadEntity, objPViewport As AcadPViewport, cScale As String, vpScale As Single
If ThisDrawing.GetVariable("TILEMODE") = 0 Then
cs768 = "1/64"" = 1'-0"""
cs384 = "1/32"" = 1'-0"""
cs192 = "1/16"" = 1'-0"""
cs128 = "3/32"" = 1'-0"""
cs96 = "1/8"" = 1'-0"""
cs64 = "3/16"" = 1'-0"""
cs48 = "1/4"" = 1'-0"""
cs32 = "3/8"" = 1'-0"""
cs24 = "1/2"" = 1'-0"""
cs16 = "3/4"" = 1'-0"""
For Each xEnt In ThisDrawing.PaperSpace
If TypeOf xEnt Is AcadPViewport Then
ThisDrawing.MSpace = True
ThisDrawing.ActivePViewport = xEnt
Set objPViewport = ThisDrawing.ActivePViewport
vpScale = 1 / objPViewport.CustomScale
Select Case vpScale
Case 768
ThisDrawing.SetVariable "CANNOSCALE", cs768
Case 384
ThisDrawing.SetVariable "CANNOSCALE", cs384
Case 192
ThisDrawing.SetVariable "CANNOSCALE", cs192
Case 128
ThisDrawing.SetVariable "CANNOSCALE", cs128
Case 96
ThisDrawing.SetVariable "CANNOSCALE", cs96
Case 64
ThisDrawing.SetVariable "CANNOSCALE", cs64
Case 48
ThisDrawing.SetVariable "CANNOSCALE", cs48
Case 32
ThisDrawing.SetVariable "CANNOSCALE", cs32
Case 24
ThisDrawing.SetVariable "CANNOSCALE", cs24
Case 16
ThisDrawing.SetVariable "CANNOSCALE", cs16
End Select
End If
Next xEnt
ThisDrawing.MSpace = False
End If
End Sub
"
Thanks to DRUDDER
seanjames
2009-10-22, 04:33 PM
Ok I'm a tool, I thought it fixed it but It didn't!!!!
RobertB
2009-10-23, 07:12 PM
Ok I'm a tool, I thought it fixed it but It didn't!!!!I didn't think it would. If that would have worked, importing a layout from Acad.dwt would solve the problem, and that does not work.
Have you submitted this to Autodesk's feedback channel yet?
seanjames
2009-10-23, 07:15 PM
I didn't think it would. If that would have worked, importing a layout from Acad.dwt would solve the problem, and that does not work.
Have you submitted this to Autodesk's feedback channel yet?
I mess myself up by renaming the offending scale to be 1:1 and then not working on it for a week and then I came back to it. Though tIt fixed it but upon further inspection I realized it didn't and I only thought it did because I changed the name previously.
Were might i find this Autodesk channel that you speak of?
RobertB
2009-10-23, 09:25 PM
Were might i find this Autodesk channel that you speak of?Since you are using MEP 2010 I presume you have Subscription. So the best thing would be to demonstrate this issue via the Tech Support channel.
Otherwise, http://www.autodesk.com/feedback
vBulletin® v3.6.7, Copyright ©2000-2010, Jelsoft Enterprises Ltd.