cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Request new API: getModelitemLayerName(ModelItem item)

J1SRC
1-Newbie

Request new API: getModelitemLayerName(ModelItem item)

I have models with several Datum Points (400+) that are gouped onto several (60+) different Layers. I need to process each of these points differently depending on which Layer they are on. Currently J-Link has no API avaliable to get Layer information directly from a Point. The work around is to search through each Layer for the Point name, if found return the layer name. That means it runs through each of the 60+ layers 400+ times.

 

I'm Not sure if this is even possible in J-Link since Layers and Points are both ModelItem Type.

But it would be nice to have an API getModelItemLayerName(ModelItem item) returning (String layerName).

 

Has anyone else run into this limitation if so would you like to see a new method that streamlines this process?

0 REPLIES 0
Top Tags