Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2806

SDK 2.4 - Issue with API calls not working

$
0
0

Hi,

 

i am currently developing an extension for design studio 1.6.

 

I am utillizing the visual enterprise application SDK 2.4 and i have troubles regarding two methods:

 

1. Issue:

var si = oDvl.Scene.FindNodes(currentSceneId, DvlEnums.DVLFINDNODETYPE.DVLFINDNODETYPE_UNIQUEID,

DvlEnums.DVLFINDNODEMODE.DVLFINDNODEMODE_EQUAL, searchString);

 

I think in the API description there is an error describing the enums ( missing "_" etc. ). Could anyone give me an example how the method FindNodes is suppossed to be called in order to find a node with its unique id?

 

2. Issue:

 

I would like to reset the selection of all nodes with the click of a button:

 

oDvl.Scene.ChangeNodeFlags(nodeId, DvlEnums.DVLNODEFLAG.DVLNODEFLAG_SELECTED, DvlEnums.DVLFLAGOPERATION.DVLFLAGOP_CLEAR);

 

However, this function i found in the API documentation does not seem to clear the flag. I have checked the nodeId, and it is a valid node. I have the same issue when i try to select a node programmatically, i can find the node but setting the flag does not seem to do anything.

 

Any help would be greatly appreciated.


Viewing all articles
Browse latest Browse all 2806

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>