|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Member |
Hi Admin,
I can use javascript to set an opacity value to an object and get the opac setting from the VET scene.(codes are shown below) My question is I want to type a vale for the opac setting, then press the button to make a change. How can I modify my codes? Thanks! =============================== function setOpacity() { vmp.SetProperty'MTSInstance.R_lung', 'opac',0.9, 'mts_real'); } function getOpacity() { var gop = vmp.GetProperty('MTSInstance.R_lung', 'opac', 'mts_real'); alert('Opacity = ' + gop + '\nType = \'mts_int\''); } |
||
|
|
Member |
I have figured it out
|
|||
|
|
Member |
Ok. I'm looking over your older posts too. Most of them can be answered in the documentation. I will look at them and point you to documentation that can help.
Regards |
|||
|
|
Member |
Thanks!!!
|
|||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|

