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.

Relations for toggling parts

Rbrgr83

New member
I'm curious to know if it's possible to use realtions to turn components on and off in an assembly (not hide, suppress), Or possibly even swap out components based on a condition. For Example:
If X is larger than 7, use Fitting A
If X is smaller than 7, use Fitting B





(Maybe I would get a better response if I could spell RELATIONS properly in the subject line )
smiley17.gif

Edited by: Rbrgr83
 
Yes it is possible. You have to put if statements around that part/assy in pro program. Are you familiar with proprogram? (Not to sound like an arrogant asshole,just wanted to ask you a question)


Omar
 
I've done quite a bit with internal relations, but I don't think I have used ProProgram before.
Edited by: Rbrgr83
 
Click tool, Program, edit design, paste this...


INPUT
ADD_COMPONENT YES_NO
"DO YOU WANT TO ADD THE COMP?"
END INPUT


file save, then close the txt file. accept all changes, current vals


then open it again using method above, then insert the bold if statement around a assembly/part like the following example....


IF ADD COMPONENT == YES
ADD SUBASSEMBLY 045_TKO_EJCT_SLVE3
INTERNAL COMPONENT ID 10608
PARENTS = 10737(#12)
END ADD
END IF


omar
 
Oh i forgot to mention that before you do the second phase you must hit the regen button select enter then check the box, done. After doing that type yes then press enter.


Omar
 
The message I get is:
"Option Pro/ASSEMBLY not ordered, please contact..."


Does this refer to adavanced Pro/ASM?
It looks like Iam able to edit the design properly on a part, but not on an assembly.


We are kind of a bare bones establishment right now. I think we only have like 5 seats, no analysis modules yet. It's entirly possible that I am missing something I need.
smiley19.gif
 
omarhernandez said:
You could do this on a part as well, but you are going to do this with features instead of parts


I understand that. What I am saying is that I can edit the design code when I am in part mode, but when I try to do so in assembly mode, it gives me the message I listed above and it does not allow me to edit the program. Do you know if I need the additional module in order to edit the design program in ASSEMBLY mode??


I am on WF2.
 
I saw a PTC presentation on top down design from PTC microsoft live meeting. They mentioned that aax license was on discount 40% off for a limited time!!!


Omar
 
Hi Omar,


By using your program, the sub assy will suppressed in the toplevel assy. I think interchange assy will giveresult.........if any method other than interchage assy.?
 
erswamy said:
Hi Omar,


By using your program, the sub assy will suppressed in the toplevel assy. I think interchange assy will giveresult.........if any method other than interchage assy.?


erswamy,


I don't understand your statment/question. An interchange assy is used to repace two components that are not related by family tabels. Also, it takes more time putting the comp. into inter. assy. Why not just replace them using the layout rep. bug (WF 2.0 only)


Omar
 

Sponsor

Back
Top