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.

import Note from file based on parameter.

james.lynch

New member
Hi all.


I've been asked to create some drawign templates for use in our department and what I'd like to do is import a saved note (eg. a 10 point multiline note specifying material type, finish ect.) based on a parameter specified in out 3D start part.


So, say I have 10 of these notes for 10 different materials. and say in my start part I have a parameter which specificies which material is to beused, when I create my drawing, I'd like to possibly be prompted to place the note but if not to place the note automatically.


Is this possible?


TIA.


James
 
When you create a note in the drawing template, it's location is fixed, so you cannot move it around. You also cannot delete it. What I do, is create a table, even if it is only a one cell table. You can move a table once it is in the drawing.


In your case, create a table with 1 column and 10 rows. Erase all lines except the outside border. Each cell will point to the specific parameter that you want to get from the model, (ex: &material). When you create the drawing, the table will automatically fill itself and you can move it to whatever location you want.
 
appinmi,


Thanks for the reply and the table tip. - very helpful!


the problem is that I don't want to have to populate 10 parameters in the model to fill in a note. We use the same start part for quite a few different materials.


I would simply like a parameter to be filled in when the part is created eg. material:ABS or whatever, and then the drawing will bring in the note for ABS.


Can this be done? (I dont want to use a different start part for each mateial) The material may not even be fully specified at that stage..


Thanks,


James
 
Why dont you write relations in your start part...


If material == "ABS"
Note_line_1 = xxxxxxxx
Note_line_2 = xxxxxxxx
endif


Where each Note_Line_# is a string parameter that you have created.


Just call them in your table or note, which ever you prefer to use
 

Sponsor

Back
Top