POST
|
Hi Matt, It works! :)) Thank you so much for your help! I am so happy. And really, thank you, you are making my thesis a lot easier 🙂 Mary
... View more
06-11-2014
12:19 PM
|
0
|
0
|
371
|
POST
|
Hey Matt, and thank you. I will try to describe it in more detail: I am dealing with the visualization of uncertainty of the archaeological buildings. Simply written, the easiest method is to classify each parameter of the building with some uncertainty value (0,1). I am assuming that each parameter can have more possibilities. And each of these possibilities has different uncertainty value. Then the final value for the entire building would be the lowest (minimum) value from the uncertainty values of each parameters. I am trying to calculate the final value interactively as are the attributes changed in inspector.
@Group("Model options",0) @Order(1) @Range("DoorA","DoorB","DoorC")
attr type_of_door = "DoorA"
doorUncertainty =
case "DoorA" : 0.8
case "DoorB" : 0.9
else : 0.7
@Group("Model options",0) @Order(2) @Range("WindowA","WindowB","WindowC")
attr type_of_door = "WindowA"
windowUncertainty =
case "WindowA" : 1
case "WindowB" : 0.6
else : 0.9
@Group("Model options",0) @Order(3) @Range("WallColorA","WallColorB","WallColorC")
attr type_of_door = "WallColorA"
wallColorUncertainty =
case "WallColorA" : 0.2
case "WallColorB" : 0.5
else : 0.8
Here I would need something like this:
buildingUncertainty = min(doorUncertainty, windowUncertainty, wallColorUncertainty)
I hope that my explanation is understandable 🙂 Thank you Mary
... View more
06-06-2014
07:04 AM
|
0
|
0
|
371
|
POST
|
Hi everybody, I would like to to use min function in my .cga file which would assign parameter with the lowest value to an attribute. Is there any way how to do this? Thank you Mary
... View more
06-03-2014
02:13 AM
|
0
|
6
|
620
|
POST
|
Hi Mat! Thank you for your fast answer, yes, I am using CE2013.1. And, yes, your solution works perfectly. Thank you very much! 🙂 Mary
... View more
05-14-2014
05:40 AM
|
0
|
0
|
329
|
POST
|
Hi, I want to import a rule file (import.cga) to my main file (main.cga). All parts of the import process are working well, but surprisingly the attribute values that are defined in both rules are not overridden with the values from the main file. Could you, please, somebody tell we, where is the error? Because my final shape height is 100; and I would like to have it 10. main file code: #main.cga attr height = 10 import imp : "import.cga" Lot--> imp.Lot importing file code: #import.cga attr height = 100 Lot --> extrude(height)
... View more
05-13-2014
05:17 AM
|
0
|
2
|
811
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|