Task preview
Номер | project | Category | Visibility | Создан | Изменен |
---|---|---|---|---|---|
0001854 | RasKon | Wishes | public | 2019-04-03 23:30 | 2022-12-14 00:42 |
Initiator | ADGroup | Responsible | ADGroup | ||
Priority | ordinary | Influence | small | Reproducibility | untested |
Condition | closed | Decision | solved | ||
Целевая версия | 10.24 | Решена в версии | 10.24 | ||
Theme | 0001854: Possibility to hide some options in customizable sash properties. | ||||
Description | - | ||||
Tags | S100 | ||||
Number of references | |||||
Implementation period (days) | |||||
Cost | |||||
Planned date | |||||
|
This description duplicates the description from task 0001344, but is only supplemented with a new Visible parameter To use this functionality you need: 1. Set up custom properties for each set of fittings (or other elements in the menu "Settings" item "Construction elements"). It is necessary to go to the menu "Setup" item "Elements of constructions" select for example the section "Fittings", open for editing the name of any set of fittings (double-click on the name of the set in the column on the left). On the window that opens, in the "Custom Properties" field, you need to enter the property information. Example of custom properties: opt1,1,true,option1 is value 1;opt1,2,false,option1 is value 2;opt1,3,false,option1 is value 3,false; opt2,1,true,option2 is value 1;opt2,2,false,option2 is value 2; opt3,1,true,option3 - value 1;opt3,2,false,option3 - value 2; The structure of the property description is as follows: VariableName,Value,DefaultValue,Description,Visible;. VariableName - variable for a particular property Value - numeric value of the property Default value - true - if this property value is the default value. Description - Description of the property that will be displayed on the screen in the property selection window Visible - Visibility of this option when designing structures in the drawing (if the value is not specified, the program reads it as true by default, if you want to hide the option, you must specify false). 2. When setting up materials in the hardware set in the material settings editor on the "Script" tab, you can use a script to set an additional condition under which this material will be counted. An example of the script: function OnCheckConditionEvent:boolean; begin result:=(ob.CustomPropertiesSetValues.GetValueByName('opt1')=3)or(ob.CustomPropertiesSetValues.GetValueByName('opt3')=2); end; This sample script allows you to set an additional condition that will be true only if the opt1 variable is equal to 3 or the opt3 variable is equal to 2. |
|
|
This problem is marked solved. If you think it is not, please reopen it and explain why. |
|
Supporters: | No supporters have yet voted in favor of the task. |
Neutrality: | No users have yet voted neutral for this task. |
Opponents: | No opponents have yet voted in favor of this task. |
Date of change | User | Field | Modify |
---|---|---|---|
2019-04-03 23:30 | ADGroup | New task | |
2019-04-03 23:30 | ADGroup | Link added | depends on 0001344 |
2019-04-03 23:31 | ADGroup | Link deleted | depends on 0001344 |
2019-04-03 23:31 | ADGroup | Link added | related to 0001344 |
2019-04-03 23:38 | ADGroup | Comment added: 0001909 | |
2019-04-03 23:39 | ADGroup | Responsible | => ADGroup |
2019-04-03 23:39 | ADGroup | Condition | new => closed |
2019-04-03 23:39 | ADGroup | Decision | open => solved |
2019-04-03 23:39 | ADGroup | Resolved in version | => 10.24 |
2019-04-03 23:39 | ADGroup | Comment added: 0001910 | |
2022-12-14 00:42 | ADGroup | Tagged added: S100 |