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

Re: Function for Get a specific entity from Entity Collection

$
0
0

Hi Ani,

 

To use the functions that Marc and Dirk mentioned you need to provide other required values for the functions´ parameter.

 

Just to give you an example on how to use the function FindChildByName, let´s say you have a Physical Model (PDM). This type of model has a collection of tables, so to find a specific table using the function FindChildByName your lines of code should be:

 

dim tabObj

set tabObj = activeModel.FindChildByName("Employee", PdPDM.cls_table, "",Nothing, False, False)

 

activeModel - represents you currently opened PDM model in the example I provide here.

 

Using the metamodel do a search for FindChildByName. This function has an explanation about all parameters it has, what they mean and what are their default value (if it applies).

 

 

Hope it helps.

 

Regards

 

-Paulo


Viewing all articles
Browse latest Browse all 8927

Trending Articles



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