PDA

View Full Version : Converting from scaling blocks with Dimscale to Cannoscalevalue



jtuck
2007-06-25, 04:55 PM
Im running into a wall, hoping you guys can help.

Right now, im trying to get 2008 ready for deployment, but it looks like im not understanding some fundamental issues with the new annotation functions. Everything is fine with the exception of blocks.

Previously, we used small macros that would insert blocks, scaled to dimscale - therefore all our blocks were drawing at 1:1, and would consequently get scaled up.

Now, I want to use the annotative text, mleaders, etc. but id like to avoid redefining 400+ blocks to be annotative. If i try to change the macros to read cannoscalevalue instead of dimscale, its appears the cannoscalevalue scales objects to be less than 1 i.e. 1/8" = 0.0104, instead of 96. So it's going the complete opposite direction as far as size goes.

Any ideas on how to get non annotative blocks to work, using the cannoscale value?

Thanks for your help!

n.g
2007-06-29, 02:40 PM
Im running into a wall, hoping you guys can help.

Right now, im trying to get 2008 ready for deployment, but it looks like im not understanding some fundamental issues with the new annotation functions. Everything is fine with the exception of blocks.

Previously, we used small macros that would insert blocks, scaled to dimscale - therefore all our blocks were drawing at 1:1, and would consequently get scaled up.

Now, I want to use the annotative text, mleaders, etc. but id like to avoid redefining 400+ blocks to be annotative. If i try to change the macros to read cannoscalevalue instead of dimscale, its appears the cannoscalevalue scales objects to be less than 1 i.e. 1/8" = 0.0104, instead of 96. So it's going the complete opposite direction as far as size goes.

Any ideas on how to get non annotative blocks to work, using the cannoscale value?

Thanks for your help!

For the macro try:

-insert;BLOCKNAME;\(/ 1 (setq A (getvar "cannoscalevalue")));;\

obviously change BLOCKNAME to the name of your block. Omit the last \ if the rotation is 0 deg.

ededios
2007-07-17, 12:10 AM
I'm wondering how this would work. . . Could I add this macro to my tool palette? where all blocks are inserted from?