I wish to place an annotative scalebar block in the model view wich changes the values based on the viewport's annotative scale, so I need to retrive the current block annotative scale in its attribute placeholder field.
Such a property doesn' shows in the available block's placeholder properties.
Any way to do it?
Thank you
Solved! Go to Solution.
Solved by vinodkl. Go to Solution.
Hi,
>> the values based on the viewport's annotative scale,
Why not placing a block in your layout, beside or under your viewport, showing the custom scale? (like shown in the attached dwg-file)
- alfred -
You can use the system variable "CANNOSCALE" (current annotation scale) field.
Hi @vinodkl ,
have you tried 2 viewports inside one layout, both having the same block visible, and both viewports have different scales ... does that block-attribute really show different values (correct values for each viewport) when plotting/publishing?
- alfred -
Hi,
I had not tried it with two viewport though, but still I tested it out as you asked me for and it does display the different annotative scale value when plotted/published but it does require regen every time we switch between layouts as the annotative objects don't show correct annotative scale values .
Hi,
>> but it does require regen every time we switch between layouts
How about having 2 viewports on the same layout?
Would be great if that would work.
- alfred -
Hi,
With two viewports created both show the same scale and when enter modelspace of one viewport and regen the object in both the viewport changes scale.
But when we plotted they show the scale which is set to them.
Hi,
great, good job then done by Autodesk 😉
Thanks for testing and feedback!
- alfred -
Thank you,
The idea was to place only one block in model space and let it adapt to different viewports
Thank you all,
So I made the attached annotative block, and it works when printing (not on screen, where it just shows the last used scale) BUT it does not only need a REGENALL, but also an ATTSYNC for each vewport (otherwise the attributes don't move to the expected position when the annotative poperty autoamtically scales the block) - so I womnder if it is any useful.
The values are also auto-updating:
Can't find what you're looking for? Ask the community or share your knowledge.