Question about the hidden option of component

Forum Forums Visual Components 4.1 General Product Questions Question about the hidden option of component

This topic contains 4 replies, has 3 voices, and was last updated by yelan123 yelan123 5 days, 18 hours ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #16220
    yelan123
    yelan123
    Participant

    Hi

    I found a convenient way to simulate my own conveyor .

    Let the conveyor of VC type that has been set up size as a kind of logic, then input my model . After aligned, hide the VC conveyor.

    But, for now , I could only hide the VC type in modeling tab, but sometimes ,it’s not convenient .If i hide the whole  component, the part which is Conveying will hide too.

    The work process has a option on properties to hide model without component.

    So, is there anyway to model the component to add the option ?

     

    #16228
    Avatar
    jouha
    Moderator

    Hi yelan123,

    1. Create a Boolean type property to your component
    2. Put your geometry under a Switch feature (as one group/transform feature)
    3. Type in the name of the Boolean property in the Switch’s “Choice” property

    Now the property value will be equal to zero when the checkbox (boolean) is not checked and nothing is shown. Checking the property will show the first feature under the Switch. So, in order to show everything in the switch, group all to the first feature as a Transformation.

     

    #16242
    yelan123
    yelan123
    Participant

    Hi jouha,

    Thanks for you reply!

    I have followed your instructions to create a Boolean type propety and put my geometry under a  Switch feature.But I still don’t understand the  step 3.

    I don’t see the property which is named “Choice”.

    So,could you give me more details?

     

     

     

     

     

     

     

    Attachments:
    You must be logged in to view attached files.
    #16254
    Keke
    Keke
    Moderator

    Hi,

    I can help with Choice issue.

    1. Create Switch Feature
    2. Select Switch from tree
    3. Modify Choice property

    Then drag geometry group under Switch.

    -k

     

    #16289
    yelan123
    yelan123
    Participant

    Hi keke

    Thanks very much! I got it !

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.