- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Revision Numbering
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
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Hi Justin-Coe and welocme at forums.autodesk!
Create block definition. In block editor try to utilise Lookup Parameters.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
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.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
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
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
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.