Enable or disabe Connector Class Properties / active or not

Enable or disabe Connector Class Properties / active or not

gert-leonvanlier
Collaborator Collaborator
1,381 Views
7 Replies
Message 1 of 8

Enable or disabe Connector Class Properties / active or not

gert-leonvanlier
Collaborator
Collaborator

I think I already know the answer, but just to be sure: Is it possible to enable or disable Connector Class Properties?

I want to connect two conveyors. In situation A the width needs to be identical, in situation B they must not be identical.

I read on having multiple connectors in the same place, turning these connectors on or off, but that means I have to connect to right connector or need to enable the right connector before connecting.

Thanks.

0 Likes
Accepted solutions (1)
1,382 Views
7 Replies
Replies (7)
Message 2 of 8

TAR_Loki
Collaborator
Collaborator

I think you are right.

But thee is also another way you can use.

You can work with a variant at your asset.

So can choose the variant at the asset, before you take it from the library.

The only thing is, that you have to create this variants for different connectors at you asset and publis them again.

0 Likes
Message 3 of 8

liqinomickey
Autodesk
Autodesk

Hi There,

 

May I ask, how is situation A / B defined in this layout? You would like 1 type of asset to fit in both situation A and B? How would the asset in situation A knows it is in situation A?

Thank you,

 

Mickey



Mickey Li
Product Manager
ACS Docs Platform feature team
Autodesk, Inc.

0 Likes
Message 4 of 8

gert-leonvanlier
Collaborator
Collaborator

I tell the conveyor in which situation it is. Let say the infeed side needs to be identical, in that case a connector called "Connector1A" is unsuppressed and connector "Connector1B" is suppressed. If Connector1A is connected with a connector called "Connector2A" the connector class is active. At the outfeed it is the same thing, but then the connectors are Connnector2A and Connector2B. That means you can have the following options:

  • 1A - 2A --> connector class active
  • 1A - 2B --> connector class not active
  • 1B - 2B --> connector class not active
  • 1B- 2A --> connector class not active

This is how I have it working right now, separate for infeed and outfeed, but not differentiating between infeed and outfeed could also be an option if that suffices.

0 Likes
Message 5 of 8

liqinomickey
Autodesk
Autodesk
Accepted solution

Hi

I uploaded a video. HIH

Mickey



Mickey Li
Product Manager
ACS Docs Platform feature team
Autodesk, Inc.

Message 6 of 8

gert-leonvanlier
Collaborator
Collaborator

Thank you! That is exactly how I have it working right now. Thumbs up for you video. 👍

0 Likes
Message 7 of 8

reggie.mostert
Contributor
Contributor

Hej, Thanks for the helpfull video!

Though i have a little different situation/problem i hope is possible to solve.

Let's say i have 2 assets, Asset1 and Asset2.

Asset1 is a machine with 2 rails in it, both rails have their own connectors. ConnectorA and connectorB.

Asset2 is a rail that runs from machine to machine. Both sides the same ConnectorC

We want the rails of different lines in different colors. Doing this with parameters/iLogic and via connectorclasses.

Situation:

When i place Asset1, i can choose different color per rail in the asset. When i connect Asset2 with ConnectorC to ConnectorA, i want the color the rail of ConnectorA has, been transfered to Asset2.

But when i place another Asset2 and connect it's ConnectorC to Asset1's ConnectorB, i want that the new asset gets the color of ConnectorB.

Is this possible? And if so how? 

 

0 Likes
Message 8 of 8

liqinomickey
Autodesk
Autodesk

 

Hi @reggie.mostert ,

 Sure it is possible. Have the following code in your connectorclass file.

 

    <RailColor family_type="normal" connector_name="ConnectorA" value_source="parameter">RailColorA</RailColor> 
    <RailColor family_type="normal" connector_name="ConnectorB" value_source="Parameter">RailColorB</RailColor> 
    <RailColor family_type="normal" connector_name="ConnectorC" value_source="Parameter">RailColor</RailColor> 

And when defining Asset1, Use parameter "RailColorA" to define the color of the rail of ConnectorA;

Use parameter "RailColorA" to define the color of the rail of ConnectorA;

When defining Asset2, Use parameter "RailColor" to define the color of the rail.

HIH

 

 



Mickey Li
Product Manager
ACS Docs Platform feature team
Autodesk, Inc.