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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

ASSEMBLY PATTERN RELATIONS

MB_10508968
12-Amethyst

ASSEMBLY PATTERN RELATIONS

Hi,

 

I've done a direction pattern with respect to the blue directions (of another object of the assembly) in the picture.

 

MB_10508968_0-1725014777839.png

 

With relations, I want to invert the direction of the pattern in relation to the constraint of the first object of the pattern.

 

MB_10508968_1-1725014912535.png

 

Wich is the command that I have to insert afther the if conditions in the following relations?

 

MB_10508968_3-1725015047252.png

 

Thanks a lot.

 

Michele Barile

 

ACCEPTED SOLUTION

Accepted Solutions

Hi,

you could use a relation like this:

 

/* PARAMETERS FOR DIMENSIONS PATTERN

1_DIRECTION = 50
2_DIRECTION = 150

 

/* PARAMETER SET

PARAMETER_SET = 1

 

/* IF CONDITION

IF PARAMETER_SET  == 1
$d4 = 1_DIRECTION
$d5 = 2_DIRECTION
ENDIF

 

IF PARAMETER_SET == 2
$d4 = - 1_DIRECTION
$d5 = - 2_DIRECTION
ENDIF

View solution in original post

2 REPLIES 2

Hi MB_10508968,

Thank you for your question. 

Your post appears well documented but has not yet received any response. I am replying to raise awareness. Hopefully, another community member will be able to help.

Regards,

Vivek N
Community Moderation Team.

Hi,

you could use a relation like this:

 

/* PARAMETERS FOR DIMENSIONS PATTERN

1_DIRECTION = 50
2_DIRECTION = 150

 

/* PARAMETER SET

PARAMETER_SET = 1

 

/* IF CONDITION

IF PARAMETER_SET  == 1
$d4 = 1_DIRECTION
$d5 = 2_DIRECTION
ENDIF

 

IF PARAMETER_SET == 2
$d4 = - 1_DIRECTION
$d5 = - 2_DIRECTION
ENDIF

Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags