Jump to content

3D graph cursor properties


Recommended Posts

I was wondering if anyone knew how to change the visibility of 3d graph cursors programmatically, there must be a way to do it seeing as it can be changed in the properties dialog box, it's probably private but since when has that stopped anyone icon4.gif.

http://forums.lavag.org/index.php?act=attach&type=post&id=6431

The only property node I can find for 3d graph cursors is count, and it's read only.

It would be great if I could read the cursor position programmatically too.

Link to comment

The 3D graph is an ActiveX object, and as such you need to use ActiveX methods. In this case, it's literally a method - you need to use an invoke node and call the Item method, which will return a reference to the cursor, which you can then handle. I'm guessing the way of identifying an Item is by using its index, but I haven't checked it.

Link to comment

QUOTE(Jan Florjanczyk @ Jul 24 2007, 08:34 AM)

In this thread

http://forums.ni.com/ni/board/message?board.id=170&message.id=143663&jump=true' target="_blank">http://forums.ni.com/ni/board/message?boar...3&jump=true

on the NI forum, I posted a worse case example for the 3-d graph.

I have not run across any of the properties of the 3d graph that could not be manipulated progamatically.

The "hints" I offer for using the 3-d graph is to

1) first observe where you found the property in the property browser then construct your code using invoke nodes and property nodes in an analogous manner.

2) All indexes used by the 3d graph are "1 based" NOT "0 based".

3) Colors are BGR not RGB

I think that all you need to know to be dangerous!

Ben

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.