Attribute with custom viewport scaling

Attribute with custom viewport scaling

andersondxd
Explorer Explorer
1,075 Views
4 Replies
Message 1 of 5

Attribute with custom viewport scaling

andersondxd
Explorer
Explorer

Good morning everyone and thanks in advance for the help.

 

I have a title block with many attributes, and in one of them I want to place the value of the scale of the viewports that I have, but with the following 2 restrictions:

  • If one or all viewports have the same scale, that value goes in the attribute,
  • And if the viewports have different scales, the value of "INDICATED" should go in the attribute.

 

Thank you very much for the help.

 

NOTE: Sorry for the English. I am using the translator.

1,076 Views
4 Replies
Replies (4)
Message 2 of 5

sophia_lee
Autodesk
Autodesk

hi @andersondxd

 

Thanks for your posting. 

 

I think you can revise the title block attribute with your new custom scale by using 'Field'. (see the link below) or just have a look at it and see what is the mechanism of updating the scales for viewports. Hope this can help to solve your issue.

If this is not working, please add your sample drawing here then might be helpful to understand your problem better. 

 

please Accept this as solution if it answers your question. Thank you, 


Sophia, Lee
Sr Technical Support Specialist
Customer Technical Success APAC
Message 3 of 5

Anonymous
Not applicable

While this works for 1 object.  I think they are looking for is "select all viewports in layout, IF all viewports have same scale, report scale, ELSE, "INDICATED"

I've been searching as well.  Currently I have that item as a TEXT attribute and have to fill it in.

But if there was some formula to do the above it would save that step and pick up on a potential mistake of forgetting the step.

Message 4 of 5

andersondxd
Explorer
Explorer

Thanks for your time.

 

I am aware of using the field to place the scale value of 1 or multiple viewports, but that procedure is only limited to a single selected object and that value is updated every time the scale is modified in that viewport.
What I wanted is to "automate" this process by collecting the value of all the viewports that exist in each layout but without the need to select, since at some point they can be eliminated and this would cause the connection of the field with the viewport to be lost .
It would be like an "automatic detector" of viewports and their scales, and that value is contained in an attribute or field. Maybe through some routine lisp it can be solved.

 

Hopefully I'm not asking for something too complex.

 

Thanks again.

 

NOTE: Sorry for the English. I am using the translator.

0 Likes
Message 5 of 5

andersondxd
Explorer
Explorer

Hi.

It is just as you say. This procedure is limited to 1 object, and what I try to find are the scales of all the viewports and if these are the same, that this value is contained in an attribute, and if each viewport has a different scale, what is the value of "INDICATED" in the attribute or field.

 

Thanks for your input.

0 Likes