- This topic has 7 replies, 2 voices, and was last updated 6 years, 5 months ago by Mikhail Luzyanin.
-
AuthorPosts
-
2018-06-06 at 10:12 am #46823dmdlbCustomer
Hi,
i want to blend in measurements for objects via a klick on a Button.
There are two different objects, so there are also two measurements.
How can i tell Puzzles to check first which object is visible in the moment and then show the right measurement after press the button?2018-06-06 at 2:25 pm #4689Mikhail LuzyaninStaffHi,
i want to blend in measurements for objects via a klick on a Button.
There are two different objects, so there are also two measurements.
How can i tell Puzzles to check first which object is visible in the moment and then show the right measurement after press the button?You need to create a specific viriables, for example, first_object_visible=1, second_object_visible=1 and if you will hide one of them you will need to write 0 to one of the viriable’s value and then create logic like “If first_object_visible=0 then do”… and so on.
Co-founder and lead graphics specialist at Soft8Soft.
2018-06-06 at 5:27 pm #46983dmdlbCustomerHi Mikhail, thanks for your reply.
I tried to follow your instructions, but unfortunately it’s not working the way i do it. It doesn’t matter which object is in the scene (sitzschale or sitzpolster), after pressing the button (id-dimensions) always “masse-sitzschale” is shown. Where is my mistake?2018-06-06 at 9:05 pm #4704Mikhail LuzyaninStaffPlease, can you discribe step by step what you want to achieve, my be I understand you not in right way.
Co-founder and lead graphics specialist at Soft8Soft.
2018-06-07 at 5:55 am #47063dmdlbCustomerHi Mikhail,
i want to add an extra function to my furniture example: http://aas01.3dmedialab.de/.
With a Button (small set-square icon) you can switch on/off measurements. The combination with the white seat has a little lower seat hight (74.5) than the combination with the grey seat (75.5). So i have two different measurement-setups.
When i press the Button to blend in the measurements, Puzzles need to check first which combination is active and then show the correct measurements.
Also i need the function, if the measurements are on and the combination (e.g from white seat to grey seat) is changed, also the measurements will update.2018-06-07 at 7:07 am #4709Mikhail LuzyaninStaffHi, I made an example for you.
Attachments:
You must be logged in to view attached files.Co-founder and lead graphics specialist at Soft8Soft.
2018-06-15 at 8:55 am #50753dmdlbCustomerHi Mikhail,
now i have kind a simliar, but little more complex scene: http://test01.3dmedialab.de/
When press the Button “id-fuss-…”, first the scene needs to be checked what table-combination is visible and the corresponding variable/table-combination-number needs to be set. See the red marked areas in my Screenshot.
The next step is the measure_change-Procedure. As in your example scene, this works perfect, if there is set a corresponding variable/table-combination-number.
But in my scene here, i don’t know how to run a table-combination-set-Procedure first, to adress a table-combination Number-Variable.
Can you help?2018-06-15 at 9:47 am #5078Mikhail LuzyaninStaffBut in my scene here, i don’t know how to run a table-combination-set-Procedure first, to adress a table-combination Number-Variable.
Hi, I think you have a error not because of checking priority but because of compare list with variable in table-combination-set procedure and you will always get false result and nothing will be changed. You need to compare list with list. For example you know which combination you can get and create a prepared lists to compare current list of objects and depending on them you will get the proper table_combination variable.
Co-founder and lead graphics specialist at Soft8Soft.
-
AuthorPosts
- You must be logged in to reply to this topic.