Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

Automatic Creation??

james.lynch

New member
is it possible to automatically create a drawing for each part of an assembley, incorperating the 3 main views and specify which template to use?
 
Anybody?


I have a 200 part assm and need drawings by monday, so it'd be nice to have a solution before everybody finished work..


if it can't be done, then not to worry!


Thanks for the help guys!


James
 
It would be very nice to be able to do that. If someone does know of a way, let me know too. Otherwise, have a nice (and busy) weekend James.
 
there I was all excited when I got a mail saying I had a reply!


oh well! busy weekend it is then!
smiley19.gif



BUT if anybody even has an IDEA about how to even approach this, please let me know... dont need the details, just the general direction to go in!


Thanks
 
Yes you can! It is called Drawing Templates.


From the Help Center/Pro/Detail:
<H1>About Drawing Templates</H1>
Drawing templates may be referenced when creating a new drawing. They automatically create the views, set the desired view display, create snap lines, and show model dimensions based on the template.
Drawing templates contain three basic types of information for creating new drawings. The first type is basic information that makes up a drawing but is not dependent on the drawing model, such as notes, symbols, and so forth. This information is copied from the template into the new drawing.
The second type is instructions used to configure drawing views and the actions that are performed on that view. The instructions are used to build a new drawing with a new drawing object (model).
The third type is parametric notes. Parametric notes are notes that update to new drawing model parameters and dimension values. The notes are re-parsed or updated when the template is instantiated.
Use the templates to:
<UL>
<LI =kadov-p-CTopic-Text-Bulleted>
Define the layout of views
<LI =kadov-p-CTopic-Text-Bulleted>
Set view display
<LI =kadov-p-CTopic-Text-Bulleted>
Place notes
<LI =kadov-p-CTopic-Text-Bulleted>
Place symbols
<LI =kadov-p-CTopic-Text-Bulleted>
Define tables
<LI =kadov-p-CTopic-Text-Bulleted>
Create snap lines
<LI =kadov-p-CTopic-Text-Bulleted>
Show dimensions</LI>[/list]
You can also create customized drawing templates for the different types of drawings that you create. For example, you can create a template for a machined part versus a cast part. The machined part template could define the views that are typically placed for a drawing of a machined part, set the view display of each view (for example, show hidden lines), place company standard machining notes, and automatically create snap lines for placing dimensions. Creating a template allows you to create portions of drawings automatically, using the customizable template.
 
Huug,


Thanks for that, I actually read that over the weekend, and I know how to create an individual drawing using a template (well the basics anyway) for an individulal part..


but is it possible to have an Assembly, and to automatically create drawings for each part?


Thanks for the info,


James
 
If using templates you can link your template drw to your template prt and have proe to create the drw at the same time as the prt or assy. (If working without link to a workspace)


Unfortunately I believe that you have already created the assy and all 200 prt's and therefore lost the opportunity of automatic drw creation (unless you write a toolkit application that scans your assy and creates the drw's)


Correct me if I'm wrong, anybody.
 
please ankarl ,could you tell me how to link the drawing drw with the part prt from the begining?


thanks in advance
 
If you use a standard assy and parts for every job then you could set the drawing with all the views dimensions shown etc., save it as a package i.e. standard parts and drawing.
 
Basically everything revolves around the default datum planes in a standard part and assembly.


If you have a standard part created with abase feature and that is assembled in a standard assembly you could use those items as your standard part and assembly.


Now, if that part and assembly are tied to a drawing that could be your standard drawing. Depending on how you hand your parts in assembly the bom would automatically update with/without parts, view would update because the view is dependent on the default datums of the assy and so on.


I used this method at my old jog with great success and infact it was addicting to see how deep (automated) you could get it.
 
Moroso,


I am very much intrigued by this, I'm wondering if this is infact documented anywhere in a tutorial or the knowledge base?


This is exactly the type of methodology that young designers like myself should be utalising.


Thanks for sharing your knowledge,


James
 
Moroso,


I added the following two options to my config.pro


force_new_file_options_dialog yes


rename_drawings_with_object part


and then created a new working directory. Then created test.prt and test.drw as part and drawing templates. Then I created a new part xxxx.prt and saved it. I checked working directory and there is xxxx.drw present but after I opened it I could not see any views.


Please help where I am wrong?


Israr
 
Israr,


If you want to add views and other stuff like described earlier you must have a part linked to the drawing and the drawing set up to show everything you want.
(This is old-school technique from berfore templates were introduced)


If you want a drw template that works for whatever part you choose, it must be defined as a template.
Start a new drw, choose Template under Applications.
Goto view menu and choose add template, now you will get a dialog box with a lot of options of how to set up your template.
(Proe 2001)


When ready, put your template file in the directory specified by config.pro option start_model_dir


[url]http://www.ptc.com/cs/help/2001/html/usascii/proe/detail/to_ cre28.htm[/url]
[url]http://www.ptc.com/cs/help/2001/html/usascii/proe/detail/the _temp.htm[/url]



Edited by: ankarl
 

Sponsor

Articles From 3DCAD World

Back
Top