Starting in December, we will archive content from the community that is 10 years and older. This FAQ provides more information.
Hi, is i've set up these controls for my drawing, which lets the user move and scale specific views. The sliders are driven by numerical parameters.
my issue is that i think it looks "ugly" when you can see the unit after the number, so i wanted to hear if its possible to remove it somehow.. example of form:
If possible i'd like the "set scale" to be "1:VALUE" where the value updates with the set scaling from the slider.
Solved! Go to Solution.
Solved by tyler.warner. Go to Solution.
Not sure about removing the unit on the current slider value.
For the "Set Scale" question... It doesn't seem like you can make a parameter label blank, so I made it an underscore & moved it below the slider. Then I created a label above the slider whose parameter name is tied to another created text parameter called "Slider_Name". Then add a rule where you insert the below code. This will change the label text as you change the slider value. I also made the slider based on the parameter "Silder_Value" which is used in the rule below.
Slider_Name = "Set Scale 1:" & Slider_Value
Similar results here. I created something earlier this morning for this, but since it did not meet your requirements, I did not post anything. I could not get it to not show the units String, which was the main point of your post. But I did create something to put the resulting numbers above the slider. The result is not even as good looking as what @tyler.warner posted though. I also had put the slider's label below it, but used a period instead, because it was least visible. Oh well. You could always create your own Form using vb.net if you wanted, instead of the iLogic Form Editor, but that would be a lot more complex to set-up.
Wesley Crihfield
(Not an Autodesk Employee)
Can't find what you're looking for? Ask the community or share your knowledge.