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.

Creating customised Tool

psaravanan1978

New member
Hi All,


I need help from you. I have to create a mapkey (Say plate). When i click the Plate i need to enter the part number / Name. After that it has to ask for the thickness, width, Length. By using these three values it has to create a part.


I tried using mapkey with start part retrieving from the specified location and i regenerated the part ( which has pro/program in it ) it will ask for the values. then the part had been created but the problem is... when regenerate the part every time it asks for the value since i have used pro/program in the start part. could you please tell me the way how to delete the pro/program from this or any other way is there to get my requirement.


I even tried using C program for geting the values but i couldn't able to link with the C compiler.


Please help me out by solving this issue.


regards


saravanan


+91-9342065432
 
To remove the program, delete the input section from the program, then it will not ask you for input values for that part anymore. However you should be able to create a mapkey that will do all of that for you without using a program. I have created a mapkey and start part that will do what you want. You may want to recreate them based on your system setup.


I created a start plate, created 3 parameters, length, width, and height. I wrote relations to set the dimensions of the extrude equal to those parameters. Then in the mapkey I created a new part from template, pause the mapkey to enter in a name, resume mapkey to get into the parameter dialog box, then pause to change the parameter values, resume to close out the parameter box and regenerate the model. You could also include saving in the mapkey too if you wanted.2007-07-05_101026_plate_start.prt.zip
 
HI Csusie


Thanks for your valuable input.


But i think i haven't asked my requirement fully. My requirement is when i click the mapkey, it has to ask for the values (thickness, width, length) once the input is given then only the part should be created.


The thing is when i create new part customer needs to enter name, thickness, width & length. they can not select the modify options from parameter menu. because this is like customisation. We want to reduce time for making these kind of parts.


I think now you can able to understand what is my requirement.


Please help me out on this regarding.





Thanks & regards


Saravanan
 
Saravanan,


You can modify parameters in a part by assigning them new values thru the relations editor, which allows for the import of a text file.


You have to verify in the rel editor before you close it, if you are overwriting a value, the verify icon is the one that looks like a sheet of paper with a check mark in it.


does that make sense?
 
One thing that you could do is create a template part and then designate the dimension values that you want to change when creating the new part. Once you have that part saved move it to your template folder and then it should show up the templates as long as when you create a part and uncheck the default format key. Right now I'm building a parts library and have a sheetmetal part set up already this way however I made one for each gage, so all you change is the length and width.
 
Can you create one parameter called\ "Created". Pro/Program requests the required info from the user (Length, Name, Width . . .), then sets Created to "TRUE". Pro/Program says, if Created == TRUE; then BREAK, QUIT, END, whatever.


I haven't really gotten in to Pro/Program, so please excuse the theoretical nature of my response. Seems logical to me.
 

Sponsor

Back
Top