Graphics

 View Only
Expand all | Collapse all

Virtual Object Groups - Manipulating Objects from different groups at the same time

  • 1.  Virtual Object Groups - Manipulating Objects from different groups at the same time

    Posted 12-07-2017 23:51
    I've been working on a new project for a few weeks now and I've found a want to be able to have objects quasi-attached to multiple groups.

    For example, I'm basically building a table of text boxes that are filled with Datalinqs. The objects in the table are in Row groups so that entire rows can be made visible or invisible based on the day's events. What would be awesome is to be able to adjust an entire column in some way, particularly the X-position of all the objects in that column. (I tried doing this with logic but failed, maybe because the objects are in different groups with positions relative to different parents?)
    Another similar example is I might want to set a new Auto Squeeze width for an entire column at once.

    It gave me the thought; what if I could have all of the objects from a column in some kind of Virtual Group. Something that can be activated just when you need to perform a specific function, and then reverted back to their physical groups.

    Anyway, it was just a thought. If anyone knows of a way to accomplish what I'm trying, I would love to learn it! I'm pretty much still a beginner at this point.

    Thanks!


  • 2.  RE: Virtual Object Groups - Manipulating Objects from different groups at the same time

    Posted 12-08-2017 16:06
    Hey Mike, Visual Logic is definitely your answer here. When I build tables like you mention I always make sure to zero out my group positions as I go that way the groups and their contents all match so visual logic will work with little effort. The other option is you can connect the x position of the objects as you have them and use the "Offset" block from the maths section to offset the positions so that they work.

    Also worth noting is that the Auto Squeeze value for any text block is available in Visual Logic as well so these can be linked and then set as once as well.
    #XPression