Discuss (large)

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.


 

Follow COE on

COE DISCUSSION FORUM
Power copy parameters
Last Post 16 Jan 2010 05:01 AM by LASSEHEREAGAIN. 5 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
ubeydun
Occasional Poster
Occasional Poster
Posts:5


--
24 Dec 2009 02:22 AM  

 

Hi All.

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



ubeydun
Occasional Poster
Occasional Poster
Posts:5


--
25 Dec 2009 03:10 AM  
Hi. All.
or, How can I define power copy's color and layers in this dialog box (parameters tab)?
knowledgeds
50+ Poster
50+ Poster
Posts:88


--
04 Jan 2010 02: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
Occasional Poster
Occasional Poster
Posts:5


--
05 Jan 2010 01:41 AM  
Hi;
Do you have an example
knowledgeds
50+ Poster
50+ Poster
Posts:88


--
05 Jan 2010 03:35 AM  
No sorry. Did you try?
LASSEHEREAGAIN
50+ Poster
50+ Poster
Posts:134
Avatar


--
16 Jan 2010 05: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.


Lasse Purma

Sen. Specialist at Nokia on PLM (= my dilbert-like life in a cubicle)
and
MightyBoss at PurmaConsulting (=my company, my rules. Occasional PLM education projects)

Finland

Lasse Purma | Create Your Badge
You are not authorized to post a reply.

Active Forums 4.1