How to set a position of DC child, by XML formula, but able to be click and drag on 3D model, without interference from formula?
I’m here with some problems involving XML formula
I’m using xml to import DC children. In this example, I need that spaces in Z axis (Z position), obey the formula bellow:
so, the shelves will be spaced corretly. BUT, I need the Z attribute FREE, able to slide when I click and drag with mouse in Z axis. To make this, I’m removing of XML, “_z_formula” and changed to a simple “z” (removing “_underlines” and “formula” of properties )
in other attributes, this works and I can edit manually the value.
But this time 2 error occour:
1 - the formula is applying in just COPY 1 - the 2, 3 ,4 … is overlayed in Original DC ( is like not reading the copy>1 )
2 - this works just if I put formula in DC Z position directly, but this disable the slide with mouse
I tried create attribute in DC, with this formula, and call via XML,
I tried create a attribute by XML
summing up: I need this formula in XML to the shelves to be set in correctly place in Z positon, but the shelf needs be able to slide in Z when I click and drag (the formula in XML is to do the piece and your copies set spaced and not overlayed)
So, what’s wrong? Can I simply delete “_z_formula” and switch to “z”, or is another code notation?
tks a lot