-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed JavaScript call (issue #7) and strengthened symmetry with SoM…
…inimalDistance
- Loading branch information
Showing
1 changed file
with
48 additions
and
70 deletions.
There are no files selected for viewing
118 changes: 48 additions & 70 deletions
118
UMD/METK/Modules/Inventor/UMDSoMeasurement/SoAngleToObjects.script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,85 +1,63 @@ | ||
|
||
|
||
Interface { | ||
Parameters { | ||
Field dummy {type=bool value=true} | ||
} | ||
} | ||
|
||
|
||
Description { | ||
Field transparency { | ||
min = 0 | ||
max = 1 | ||
} | ||
// Field transparency { | ||
// min = 0 | ||
// max = 1 | ||
// } | ||
Field inObject1Node {deprecatedName=inputObject} | ||
Field inObject2Node {deprecatedName=inputObject2} | ||
} | ||
|
||
} // Description | ||
|
||
|
||
Window { | ||
Vertical { | ||
Vertical { | ||
TabView Main { | ||
TabViewItem Display { | ||
Box { layout=Vertical | ||
CheckBox displayInput {title=Input alignGroup=parameter} | ||
Horizontal { expandX=No | ||
Empty {w=10} | ||
Field transparency { step=.1 slider=Yes alignGroup=subParameter dependsOn=displayInput} | ||
} | ||
} | ||
Box {layout=Vertical | ||
//Tool is displayed always. | ||
CheckBox dummy {title="Tool" dependsOn=!dummy} | ||
Execute = "*js: ctx.field("dummy").setValue(true);*" | ||
Horizontal {expandX=No alignX=left | ||
Empty {w=10} | ||
Vertical { | ||
Table { alignGroup=subParameter | ||
Row{ | ||
CheckBox displayUnit {title=Unit} | ||
Empty {} | ||
} | ||
Row{ | ||
CheckBox displayName {title=Name} | ||
Field toolName {title="" dependsOn=displayName} | ||
} | ||
TabViewItem Display { | ||
Box { layout=Vertical | ||
CheckBox displayInput {title=Input alignGroup=parameter} | ||
//Field transparency { step=.1 slider=Yes alignGroup=subParameter dependsOn=displayInput} | ||
}//Box | ||
Box { layout=Vertical | ||
//Tool is displayed always. | ||
CheckBox { title = "Tool" edit = False checked = True } | ||
Horizontal {expandX=No alignX=left | ||
Empty {w=10} | ||
Vertical{ | ||
Table { alignGroup=subParameter | ||
Row { | ||
CheckBox displayUnit {title=Unit} | ||
Empty {} | ||
} | ||
Row{ | ||
CheckBox displayName {title=Name} | ||
Field toolName {title="" dependsOn=displayName} | ||
} | ||
CheckBox displayToolOnlyOnValid {title="Display on Valid" alignGroup=subParameter} | ||
Field color {alignGroup=subParameter} | ||
} | ||
CheckBox displayToolOnlyOnValid {title="Display on Valid" alignGroup=subParameter} | ||
Field color {alignGroup=subParameter} | ||
} | ||
} | ||
|
||
} | ||
}//TabViewItem Display | ||
TabViewItem Measures { | ||
Box { layout=Vertical expandY=yes | ||
Field angleDegree {title="Angle/Deg:" edit = NO alignGroup=measureGroup} | ||
Field connectPos {edit = NO alignGroup=measureGroup} | ||
Field startPos {edit=no alignGroup=measureGroup} | ||
Field endPos {edit=no alignGroup=measureGroup} | ||
} | ||
}//TabViewItem Measures | ||
}//TabView Main | ||
Horizontal { | ||
Box {layout=Horizontal expandX=true | ||
Empty {expandX=true} | ||
} | ||
Box {layout=Horizontal expandX=false | ||
CheckBox resultsValid {enabled=false title=Valid} | ||
} | ||
}//Horizontal | ||
} // Vertical | ||
} // TabViewItem Display | ||
TabViewItem Measures { | ||
Box { layout=Vertical expandY=yes | ||
Field angleDegree {edit=No alignGroup=measureGroup title="Angle/Deg:"} | ||
Field connectPos {edit=No alignGroup=measureGroup} | ||
Field startPos {edit=No alignGroup=measureGroup} | ||
Field endPos {edit=No alignGroup=measureGroup} | ||
} | ||
}//TabViewItem Measures | ||
}//TabView Main | ||
Horizontal { | ||
Box {layout=Horizontal expandX=true | ||
Empty {expandX=true} | ||
} | ||
Box {layout=Horizontal expandX=false | ||
CheckBox resultsValid {enabled=false title=Valid} | ||
} | ||
}//Horizontal | ||
} // Vertical Main | ||
} // Window | ||
|
||
|
||
|
||
|
||
|
||
|
||
//# MeVis signature v1 | ||
//# key: MFowDQYJKoZIhvcNAQEBBQADSQAwRgJBAKyWeOZdMOT9Sj40ZS32A8i8GAjHkcHh3QT05EJBoHkqE3S0/FOcZM6SFkMLVcjiDmzBdoc9REZUIl5061137BkCARE=:mbUARszcrJxTM2e3H2YskVHojl15mYg4OBjlYsSeJfjTYEVwkgvJJ0eFJB4r7/u64QtiMUxLsor5/MgAGO4iCA== | ||
//# owner: MeVis Internal Developer | ||
//# date: 2005-08-18T18:57:42 | ||
//# hash: N/mv76K5fVZs91ywdaJzEhLF3+/zlE7DWBsZa/BdsRWSQcIYca5QCvepyVDo0ErQ8r8udltrAKhs3P8TvRJMPA== | ||
//# MeVis end |