Kemphas Posted April 16, 2013 Posted April 16, 2013 So, I am trying to utilize ACD-LT 2010 to auto fill paper space templates. Recently working with some co-workers with Inventor they have the ability to define drawing attributes which are designated in text at pre-defined points... AWESOME AWESOME AWESOME if i can define attributes that would fill all paper space "Drafted By:" "Approved By:" "Project:" "Model:" .... so on and so forth... Does anyone know how to utilize custom applied Attributes in a Text field, mtext doesn't matter.. Otherwise, I was playing with exporting, allot of programs will use such code like XML in the background that i can export to and build a script to auto generate code via Excel. Is there an alternate for export than WMF? Anyone have experience in using excel to import large amounts of data? I have used Excel to import a Parabola equation through line command which according to some ME's at the office was impossible when they researched doing it online but i dont know various commands to add text boxes, define quardinates, and text values. HELP!! Quote
BIGAL Posted April 16, 2013 Posted April 16, 2013 Try scripting by using "Insert" if the "Title" block can be internal or external to the drawing you imply its co-ordinates scale etc when you do a Insert it will ask for the attribute values a blank answer is ok or use a space this expects that you are using a pre created title block with attributes you just need to know the creation order not poisition when giving the attribute values. Quote
Kemphas Posted April 23, 2013 Author Posted April 23, 2013 Not following what you replied with however, i did find out how to apply attributes to text fields. in an Mtext Box right click and go to field and add the field you want there are generic fields such as date and such but you can go to drawing properties and add custom ones aswell. thanks for your help. I would like to find out how to create drawings from XLS Files as allot of my I/O setup's and stuff are in Excel. I have heard of people using excel to auto generate cad files.. If anyone has an example even if a single line of how to insert text boxes and lines and stuff a example or a website that spells it out would be greatly appreciated i cant find much about scripting for acd in the means of an instruct able document. Quote
Mike_Taylor Posted April 23, 2013 Posted April 23, 2013 I havent done it myself, but I am sure you could format excel in a way you could export to a space delimited text file and convert that to a script via the file extension. It may take some time formatting the spread sheet, but off the top of my head I couldnt see any reasons it would not work. Quote
BIGAL Posted April 24, 2013 Posted April 24, 2013 Heres a simple example of a script copy and paste to the command line the idea is to make a big long sequence of what you would type in for multiple objects, note the blank line between line and circle a return is required to end the line command or a space on end of line. Line 1,2 3,4 5,6 7,8 circle 0,0 R 3.5 or line 1,2 3,4 5,6 7,8 circle 0,0 R 3.5 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.