comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » importing variables into iTools programmatically
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
importing variables into iTools programmatically [message #37238] Sun, 07 December 2003 01:01
milan08 is currently offline  milan08
Messages: 6
Registered: November 2003
Junior Member
Hi all,

I have an IDLgrModel of a camera that I would like to import into the
ivolume data manager. With a function, camera() that returns an
object reference of the camera model, I can enter cam1= camera() at
the command line, call ivolume and import cam1 via the file/import
menu, but I would like to be able to do this programmatically. I have
to define cam1 in my program rather than at the command line because I
will have users running this application using IDL VM. I tried adding
the following code to my procedure:

com= 'cam1= camera()'
test= EXECUTE, com

I then called ivolume from within the procedure and tried to import
the variable cam1 using the file/import interface, but this didn't
work. Even if that had worked, I will not be able to use EXECUTE,
because I recently discovered IDL VM does not allow use of the EXECUTE
function. I also made an unsuccesful attempt at using CALL_FUNCTION.
Does any one have a method for importing variables into iTools from
within a procedure?

-Erica
[Message index]
 
Read Message
Previous Topic: iTool interaction with IDLgrModel / IDLgrPolygon member properties?
Next Topic: Re: iTool interaction with IDLgrModel / IDLgrPolygon member properties?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Nov 28 13:10:39 PST 2025

Total time taken to generate the page: 0.15085 seconds