Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Revision Numbering

Anonymous

Revision Numbering

Anonymous
No aplicable

Hi Experts,

 

Im having a discussion with a colleague about drawing revisions. What is in question is. Is there a way we can have our drawing revision number/letter in one corner and a revision box that gets lines of revision added to for each new revision and in turn it will automatically update the drawing revision number.

I have tried to sort this out but other than having layers of DWG properties on top of one another which defeats the purpose of simplifying things or a series of attributes I can not find a way to sort this out.

 

Any direction or ideas most welcome,

 

Thanks in advance.

 

Cheers

 

Justin Coe  

0 Me gusta
Responder
998 Vistas
4 Respuestas
Respuestas (4)

Slawomir_
Advisor
Advisor

Hi Justin-Coe and welocme at forums.autodesk!

 

Create block definition. In block editor try to utilise Lookup Parameters.

0 Me gusta

3wood
Advisor
Advisor

One of the automatic approach is to set up a sheet set, define the revision number in the sheet set properties, then use a FIELD in the title block attribute to refer to that revision property value.

In that case, you only need update the revision property in the sheet set once and all drawings with the same title block setup will get updated automatically.

TheCADnoob
Mentor
Mentor

I have devised a solution, but its a bit of a walk through. 

 

Inside block attributes you can insert fields. You can nest other fields in these fields in conjunction with formulas. 

 

If you use the maximum value equation you can find the largest of two values. 

 

The equation is as follows:

 

MAX(a,b) = 1/2(a+b+|a-b|)

 

This equation looks like the following in CAD

 

1/2*(a+b+abs(a-b))

 

So if you use the formula and reference attribute values you can build a formula that will return the largest value in a series of numbers. I did this with just 4 numbers as you cant cut and paste fields in the formula so it takes a while. If i were to do it in the future i might use hidden attributes to hold values so as to reduce the length of the formula. Below is what my nest formula looks like for 4 numbers. 


1/2*((1/2*(A+B+abs(A-B)))+(1/2*(C+B+abs(C-D)))+abs((1/2*(A+B+abs(A-B)))-(1/2*(C+D+abs(C-D)))))

 

you can see how the length grows considerably in length as you add variables. 

All that said, it works and it creates an automatically updating title block based on the highest rev number. there are some issues that would have to be worked out if it were put into production as the values cannot be null or less than zero so it would have to be populated with 0s from initial release. for better or worse here is a screencast of the "smart" title block that doesn't use any code. 

 

you can fast forward to the end to see the magic. 

 

 

CADnoob

EESignature

0 Me gusta

Anonymous
No aplicable

That is fab thanks for that, however it may take me a few moment or more to work through your solution's. Only because of my relatively lack of knowledge. I do appreciate it thought. 

0 Me gusta