cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Summary: Auto-Arrangement in Assembly

sgold
1-Newbie

Summary: Auto-Arrangement in Assembly

Nothing too original to summarize with. As I expected, Pro-Program
seems to be the preferred way.


Original Post
> I have a number of components that assemble in a row such as:
> ABCDEFGH
>
> What I would like to do is set up a system whereby if I remove C, B&D
> will come together and condense the assembly. I know I can do this by
> assembling to planes and then modify the plane offset when C is gone.
>
> Has anyone determined a better way?
>
> I'm running v2001.

Got an example from Vlad I thought best to share:

What you can do is to use ProPROGRAM and use the thing that programmers
call "counter". Not going into ProPROGRAM syntax (which I do not
remember by heart), you should do the following:

Place A;B;C;D ref basic datum plane (lets talk about X direction, just
for example)
manage A, B, C, D through 4 parameters of Yes/No type (in INPUT
section), like:
if COMP_A = YES
ADD COMPONENT A.PRT
........
END ADD
ENDIF
Lets say that Xa / Xb / Xc / Xd are respective components offset
dimensions (which we want to manage smart)
Lets say that Wa; Wb; Wc; Wd - respective width of each component
(known)
Lets say that G is a gap between components (if similar) , and A starts
from X = 0, i.e. Xa = 0
proclaim L variable in Parameters section
set in Relations section:

L = 0

If COMP_A
L = L + (Wa +G)
ENDIF

Xb = L

If COMP_B
L = L + (Wb + G)
ENDIF

Xc = L

If COMP_C
L = L + (Wc + G)
ENDIF

Xd = L

======
Scott Gold http://www.eone.com
<http: www.eone.com="/>
Product Development Engineer sgold@eone.com

Environment One Corporation Phone: 518-346-6161 (x3014)
2773 Balltown Road Fax: 518-346-6188
Niskayuna, NY 12309-1090 Email: sgold@eone.com
======



This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
0 REPLIES 0
Announcements
Attention: Creo 7.0 Customers
Please consider upgrading
End of Life announcement here.

NEW Creo+ Topics:
PTC Control Center
Creo+ Portal
Real-time Collaboration