We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Enable outlines via text elements or function parameters

Home Forums Puzzles Enable outlines via text elements or function parameters

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #13410
    scalare
    Customer

    Hello Guys,

    I need to be able to enable the outline effects by specifying them with a text that refers to a collection name, or by applying it through a parameter or variable that holds the collection name, but it looks like it is not working. If I do it with an object selector with the collection name, it works though. It seems that the change you’ve made to make everything work via texts has left the outlines effect out?

    Or am I missing something ?

    Thank you!
    Andrés

    #13416

    Yes, when you’re using a text puzzle as input, it assumes that an object name is supplied. To make it work with a collection, you can use the following undocumented hackery – use a list consisting of two text puzzles: “GROUP” and “your collection name”.

    Chief 3D Verger | LinkedIn | Twitter

    #13444
    scalare
    Customer

    Hi Yuri, that is great! Thank you. But I have a question: Will Verge3D eventually be able to accept collection names for the outlines? If so, will this hackery still work? Because if not, we will have to change our coding when you include the “regular” functionality in the future release.

    #13446

    This issue is not specific to the outline puzzle but rather to all puzzles in general. When using text puzzles instead of selectors, you have to somehow distinguish between object names and collection names. So I think we won’t be changing this behavior in the observable future.

    Chief 3D Verger | LinkedIn | Twitter

    #13447
    scalare
    Customer

    Great. Thank you for clarifying!

    #23704
    Branden Coker
    Customer

    Glad I found this! I’m having a similar issue, but rather than enabling outlines on a collection of objects, I’m attempting to combine text with a picked object puzzle. Attaching a screen shot here for clarity.

    The picked object in this case is called “housing.” I would expect resulting text to be “outline.housing” which is the same name as my variable.

    It’s not working as shown here. If I replace my create text puzzle with the “outline.housing” variable puzzle, it works fine.

    puzzles

    #23713

    Hi Branden,

    You might try to retrieve the value of the variable with this puzzle before passing it to outline. Right now is just creates a String value which the outline puzzle interprets as an object name, while you need it to be a list of object names.

    Chief 3D Verger | LinkedIn | Twitter

    #23779
    Branden Coker
    Customer

    Thank you Yuri. This is good to know. I managed to find another solution. I actually used Collections in Blender and the info here you shared to get it running. I’m sure the “variable value by name” puzzle will come in handy soon though.

    #23801

    Sure! Glad you worked it out! :good:

    Chief 3D Verger | LinkedIn | Twitter

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.