Welcome to the COE Discussion Forums! 

 

To participate in the discussion forum, you must be logged in to the website.  If you forget your login information, please contact COE Headquarters at coe@coe.org or (800) 263-2255.

If you are new to the COE Discussion Forum and would like to participate, please register.


COE Community News

Follow COE on

COE DISCUSSION FORUM
Power copy parameters
Last Post 16 Jan 2010 11:01 AM by LASSEHEREAGAIN. 5 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
ubeydun
New Member
New Member
Posts:5

--
24 Dec 2009 08:22 AM  

 

Hi All.

Is it possible to define color and layer definition with power copy paremeter?

ubeydun
New Member
New Member
Posts:5

--
25 Dec 2009 09:10 AM  
Hi. All.
or, How can I define power copy's color and layers in this dialog box (parameters tab)?
knowledgeds
New Member
New Member
Posts:87

--
04 Jan 2010 08:50 AM  
Hello,

Layer and Color attributes in Knowledge language allow to set those properties for mechanical objects. So you have to create user parameters that control those properties, include those parameters in Power Copy definition, and publish them in Parameters tabs.

Regards
ubeydun
New Member
New Member
Posts:5

--
05 Jan 2010 07:41 AM  
Hi;
Do you have an example
knowledgeds
New Member
New Member
Posts:87

--
05 Jan 2010 09:35 AM  
No sorry. Did you try?
LASSEHEREAGAIN
New Member
New Member
Posts:82
Avatar

--
16 Jan 2010 11:01 AM  
Hello,

I don't have CATIA in front of me right now, so I make this from memory without trying and proofing, but I have done this couple of times, here is color change by atributes.
1) First create a parameter (MyColor) type String, that has as Multiple values all wanted colors (let's say Green, Yellow anf Grey)
2) Then create a rule that looks like this:

If MyColor=="Grey"
ElementThatneedsTChengeColor.Color=Grey
else if MyColor=="Green"
ElementThatneedsTChengeColor.Color=Green
else if MyColor=="Yellow"
ElementThatneedsTChengeColor.Color=Yellow
3) When creating powercopy, just Publish this MyColor parameter.

I think that you can use also RGB values for more exact color definition, but should wrok with just color names also.
Maybe this even works for common colors so that you create a simple relation: ElementThatneedsTChengeColor.Color=MyColor
- but there parameter type change from string to definition of color might not work, never tested that.


You are not authorized to post a reply.

Active Forums 4.1