Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Regen when changing drawing scale

11 REPLIES 11
SOLVED
Reply
Message 1 of 12
jmartt
2999 Views, 11 Replies

Regen when changing drawing scale

Is there a way to automatically regen when changing the drawing scale?

 

11 REPLIES 11
Message 2 of 12
beyoungjr
in reply to: jmartt

Set your regenmode variable to "1" (on). This should yield a regen automatically when you perform most of the "Modify" commands (I still prefer to call 'em Edit commands), including the scale command.
I read somewhere that ACAD 2016 has improvements in screen regeneration. This is particularly nice for zooming in/out for arcs and circles where a faceted profiles required regen. All profiles appear to regen throughout zooming and I haven't seen "Blips" onscreen for years... so regen appears to be better managed behind the scenes.

 


Blaine Young
Senior Engineering Technician, US Army

Message 3 of 12
jmartt
in reply to: beyoungjr

Hey, thanks for reply. But regenmode is at 1. All other annotative objects scale, but not linetypes. I've got a little button for regen and after I hit that, the linetypes jump to the right scale, so it ain't the end of the world, but annoying.

 

I'm using Civil 3D 2016, so maybe this is different from other instances(?)

Message 4 of 12
AlmasSuljevic
in reply to: jmartt

Hi jmartt,

 

Do you see different lietype scale in model space and paper space? Have you tried adjusting MSLTSCALE and PSLTSCALE variables? More infromation about them could be found here: 

https://knowledge.autodesk.com/support/autocad/troubleshooting/caas/sfdcarticles/sfdcarticles/Linety...

http://beingcivil.typepad.com/my_weblog/2010/04/linetype-scale-msltscale-and-psltscale.html



Almas Suljevic
Product Support Specialist
Autodesk Global Subscription and Support
Autodesk, Inc.

Please click on "Accept as Solution" if post helped you resolve the issue.
Message 5 of 12
jmartt
in reply to: AlmasSuljevic

Almas,

All my LT sysvars are at 1. I'm seeing the lines the way I want to see them in paper and in model space. And the lines look the way I want them to after a regen everytime. It is just the regen that I'm annoyed by. Interestingly, my feature lines in Civil 3D update automatically. So if I have a daylight line that is dashed and a regular old ACAD dashed line right next to it and change the scale, the feature line reacts but the regular dashed line doesn't without a regen. Is there no way to include regular CAD linetypes in a regen initiated by scale changes?

Message 6 of 12
AlmasSuljevic
in reply to: jmartt

The only one thing that we did not try is to check REGENAUTO command. Is it set to  ON or OFF? Would you be able to post your drawing here for others to see and compare?



Almas Suljevic
Product Support Specialist
Autodesk Global Subscription and Support
Autodesk, Inc.

Please click on "Accept as Solution" if post helped you resolve the issue.
Message 7 of 12
jmartt
in reply to: AlmasSuljevic

Regenauto is on.

 

I've attached a drawing made from an ootb acad template with a dasehed line drawn in it. But as far as I know, the behavior I'm seeing is universal in CAD. If you change the drawing scale, the line does not react, (i.e. the cadence of the dashes change accordingly), until you perform a regen.

I'm not suggesting that this is a problem with this drawing or any other. I just want to know if there is a way to make the line react when you change scale. Like maybe if you can add in things that regen automatically when you change scale. To be like annotative text. Annotative text changes immediately upon changing the drawing scale.

 

Like I said, as far as I know, this is normal behavior for CAD...but why? I think I only noticed it when normal lines weren't changing with scale but my feature lines were. And if someone can make a daylight feature line, with all its bells and whistles, change immediately I don't see why a simple dashed line can't as well.

 

Thanks

Message 8 of 12
jmartt
in reply to: jmartt

WAIT. HOLD ON.

 

Everytime above when I said "drawing scale", it appears I actually meant "annotation scale". I'm so sorry if I caused any confusion.

 

 

 

Is there a macro or something that will, everytime you change the annotation scale, also regen?

 

I suppose I might actually be able to write that...but it wouldn't be invoked by using the annotation scale changer at the bottom of the screen.Is there a way to add this functionality to the annotation scale change?

Message 9 of 12
dbroad
in reply to: jmartt

What you are experiencing is standard behavior, probably to reduce computation overhead and delays.

 

How often do you find yourself changing annotation scales?  Do you feel like it is important to have a regen automatically occur?

 

It is possible to customize AutoCAD to regen automatically.  Is that what you want to do?

Architect, Registered NC, VA, SC, & GA.
Message 10 of 12
jmartt
in reply to: dbroad

Okay, yeah. Thanks for confirming standard behavior. I thought so.

I'd be surprised if, with the amount of other stuff going on, that linetypes changing with annotation scaling would bog my drawings down. Seeing as how the super-intelligent feature lines change with annotation scale changes, and annotative text changes too, this basic linetype behavior must be a relic from the past when this automatic functionality was a concern.

 

I change the annotation scale all the time. Easier to see individual cogo point entities, for one thing. There's other ways to skin the cat, but changing annotation scale is convenient for me.

 

I do want CAD to regen automatically. It is now, though. Can I somehow add "when I change the annotation scale" to the list of Things That Cause CAD to Regen? 

Message 11 of 12
dbroad
in reply to: jmartt

This will work. Save the code to a file with a .lsp extension.  Then put it in your appload startup suite.

 

;;D.C. Broad, Jr.  11/2015
;;Initialize reactor once.
(if (null casr)
  (setq casr (vlr-sysvar-reactor nil '((:vlr-sysvarchanged . rgnlt)))))

;;Regen linetype callback
;;whenever CANNOSCALE changes.
(defun rgnlt (r cl)
  (if (= (car cl) "CANNOSCALE")
    (vla-regen (vla-get-activedocument (vlax-get-acad-object)) acActiveViewport)
    )
  )

;;use (vlr-remove casr) to disable.
Architect, Registered NC, VA, SC, & GA.
Message 12 of 12
jmartt
in reply to: dbroad

The force is strong with you, sir. Thanks so much.

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

Post to forums  

Autodesk Design & Make Report

”Boost