AutoCAD LT
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Block - Automated attribute values - add/subtra ct
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hello all,
This may be a long-shot and one for the CAD guru's out there and any assistance would be greatly appreciated.
Background - I am working on multple civil earthworks plans that depict cut and fill set-out data. So far I have started labelling these with a use of a label block that has attributes - which i fill in as i place the blocks. See attached screen dump. N for natural surface, F for final design surface and a value "X" which is the difference of the two - which is either going to be +ve or -ve depending on whether its in cut of fill.
Issue - seeing as there are so many points to label, i would liike to 'automate' the "X" similar to excel where it will give me the answer as opposed to calculating and tryping them in manually.
Hope that made sense and i look forward to receiving any ideas.
Cheers!
GT
Adelaide - SA
Australia
Solved! Go to Solution.
Re: Block - Automated attribute values - add/subtra ct
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi, I haven't tried it but I think you could insert a simple table in your block and use that to do the math for you.
Re: Block - Automated attribute values - add/subtra ct
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi,
this can most likely be done using fields and a custom field expression, the field will read the value of the first attribute and then subtract it with the second attribute value, however this field expression does not exist as standard so you'll have to make it yourself, my knowledge in field expression is limited and I don't have the time to try it out for the moment,
maybe someone with more experience will pick up on this.
PS: It also needs to read the value of the attribute as numbers and not as a text string.
Good luck!
AutoCad LT 2014
Re: Block - Automated attribute values - add/subtra ct
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi, I tried my idea of using a table in a block and couldn't get it to work. Not sure if I was doing something wrong or if you just can't use tables in blocks. Anyway, I made a simple table that you could just copy and paste where you need. Hope this helps.
Re: Block - Automated attribute values - add/subtra ct
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
You can put formulas into fields
http://cadingandcoding.blogspot.be/2008/10/explori
Setting Out (Joinery Manufacturing)
Autocad 2013LT
Windows 7 professional
