Factory Design Suite General Discussion

Factory Design Suite General Discussion

Reply
Valued Mentor
Logos_Atum
Posts: 582
Registered: ‎07-10-2012
Message 1 of 13 (274 Views)
Accepted Solution

Connectorclasses

274 Views, 12 Replies
08-09-2012 02:07 AM

Hello there,

i have a question regarding the capabilities of connectorclasses.

Is it possible to add code to make the connectorclasses adapt colour styles of a text Parameter?

I made a multi value parameter of it and I am curios how to make connected assets change colour

dependent on the selection of the previous.

 

Is it possible to do this?

 

Thank you for your time

 

Daniel

- 2500K @ 4.2Ghz- 8GB - Radeon7970 -
- 2x Xeon 2670V2 - 64GB - W7000 - 4x Quadro 2000 -

- Factory Design Suite Premium Subscription-

Hi Daniel Bro,

 

You can define the key (text) parameter in the connector class, which parameter in Inventor control the style. So once they are connected by connectors, the key (text) parameter will be propagated among the assets, afterwards, the style will updated also according to the parameter change.

 

Thanks,

-Xuesong

 

HI Daniel ,

 

You can define color as key parameter and use iLogic to realize color change for one asset. Then add this parameter color in connectorclass file. I have attached a sample asset. Hope it could help you.

 

Thanks,

Sucy

Employee
jeff.pek
Posts: 360
Registered: ‎07-29-2008
Message 2 of 13 (271 Views)

Re: Connectorclasses

08-09-2012 03:44 AM in reply to: Logos_Atum

Hi -- Thanks for your question.

 

Connector Classes don't support this directly -- they only propagate parameters from one component to another.

However, you could probably incorporate iLogic rules that apply other changes (such as color styles) based on those parameter values.

 

Jeff

Valued Mentor
Logos_Atum
Posts: 582
Registered: ‎07-10-2012
Message 3 of 13 (269 Views)

Re: Connectorclasses

08-09-2012 04:16 AM in reply to: jeff.pek

Hey Jeff,

 

 

okay  - iLogic, great this is possible anyway.

I got this rules included and running already.

 

The next step would be to link the logic in the assets in the Factory assembly right?

Is there an example of how it´s done available? I´m a ilogic newbie...

 

 

Thanks in advance

 

Daniel

- 2500K @ 4.2Ghz- 8GB - Radeon7970 -
- 2x Xeon 2670V2 - 64GB - W7000 - 4x Quadro 2000 -

- Factory Design Suite Premium Subscription-

Employee
jeff.pek
Posts: 360
Registered: ‎07-29-2008
Message 4 of 13 (267 Views)

Re: Connectorclasses

08-09-2012 04:23 AM in reply to: Logos_Atum

HI Daniel -

 

Not sure what you mean by that. Can you elaborate a bit?

 

Typically, in FDS, component parameters are pushed via the properties panel. This also collaborates with the FDS component instancing process to ensure that we create new copies of the assets when a new unique combination of key parameter values is created.

 

Thanks,

  Jeff

Valued Mentor
Logos_Atum
Posts: 582
Registered: ‎07-10-2012
Message 5 of 13 (265 Views)

Re: Connectorclasses

08-09-2012 04:41 AM in reply to: jeff.pek

Hello Jeff,

 

i truly tend to fail if i get into details.

 

But i´ll try...

 

I created assets with the following capabilities:

 

They communicate parameters via connectorpoints - height and width. Length is a key parameter too,

but i only defined it to accept user values.

 

I have rules defined for motorposition and colourstyles. All accesible on the Factory portion of Inventor too.

 

Now here is my question, is there a way to make the assets adapt the colourstyles of the first Asset i placed?

Can i define a rule in the assembly which makes the selected assets change colourstyle to the selection?

 

As it is important to keep the solution simple there is no other solution than a nice rule run via a form created with the assistant.

 

I hope this helps you

 

Kind regards

 

Daniel

- 2500K @ 4.2Ghz- 8GB - Radeon7970 -
- 2x Xeon 2670V2 - 64GB - W7000 - 4x Quadro 2000 -

- Factory Design Suite Premium Subscription-

Employee
jeff.pek
Posts: 360
Registered: ‎07-29-2008
Message 6 of 13 (263 Views)

Re: Connectorclasses

08-09-2012 04:53 AM in reply to: Logos_Atum

HI Daniel -

 

Thanks for the explanation.

I'm curious: Why is it that you want to make changes to the component colors?

 

It sounds like you're better off in applying assembly-level color style (overrides) instead of assigning the colors to the parts themselves. This would also be more effiicient, as a color change alone would not cause the creation of a new component.

 

I can't think of a way to do this automatically without writing some code (as an add-in). You can do this with an assembly-level iLogic rule semi-automatically, by create a rule that assigns a color style to all selected components when you press a button. This a special iLogic rule you create; this is described in the iLogic docs, I'm sure.

 

As far as I know, there's not a way to get a rule to run when a new component is added. This is something that you could do using an add-in.

 

Jeff

 

Employee
guosu
Posts: 52
Registered: ‎05-16-2011
Message 7 of 13 (239 Views)

Re: Connectorclasses

08-13-2012 08:34 PM in reply to: Logos_Atum

Hello Daniel,

 

Do you mean when two assets are connected,  change one asset color style, anthor asset will change color style together?

 

Sucy

 

 

Valued Mentor
Logos_Atum
Posts: 582
Registered: ‎07-10-2012
Message 8 of 13 (235 Views)

Re: Connectorclasses

08-14-2012 01:34 PM in reply to: guosu
Hello Sucy, yes exactly, is it possible? Any hint will do. Kind regards Daniel
- 2500K @ 4.2Ghz- 8GB - Radeon7970 -
- 2x Xeon 2670V2 - 64GB - W7000 - 4x Quadro 2000 -

- Factory Design Suite Premium Subscription-

Employee
XuesongBai
Posts: 449
Registered: ‎03-15-2009
Message 9 of 13 (233 Views)

Re: Connectorclasses

08-14-2012 06:08 PM in reply to: Logos_Atum

Hi Daniel Bro,

 

You can define the key (text) parameter in the connector class, which parameter in Inventor control the style. So once they are connected by connectors, the key (text) parameter will be propagated among the assets, afterwards, the style will updated also according to the parameter change.

 

Thanks,

-Xuesong

 

Employee
guosu
Posts: 52
Registered: ‎05-16-2011
Message 10 of 13 (228 Views)

Re: Connectorclasses

08-14-2012 08:06 PM in reply to: Logos_Atum

HI Daniel ,

 

You can define color as key parameter and use iLogic to realize color change for one asset. Then add this parameter color in connectorclass file. I have attached a sample asset. Hope it could help you.

 

Thanks,

Sucy

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.