Hello to all ! I wonder how to count inlinks/outlinks per object. My strategy was to modify a basic Wizard analysis showing linked object Identifiers. The result is below
if (depth == 1) {
s = (identifier othero)
if (s == "")
displayRich("\\pard " " ")
else
displayRich("\\pard " s)
Shall replace use an incrementing counter ? I tried to use count++ but no result
if (depth == 1) {
count++
}
display(count"")
Could you help me finding the way ?
Dader - Thu Aug 11 04:03:12 EDT 2016 |
Re: DXL Count Outlinks per object If you need to count links there is a ready-made DXL attribute code in DOORS DXL library. To use this, start to create a new attribute, check DXL Attribute and then press Browse button.
If you want to do it on your own, below is my version of code modified from Analysis Wizard code
Attachments Clipboard01pm.jpg |
Re: DXL Count Outlinks per object To count links you first need an object, let us say objWork. Then you must not use the datatype "Link". For outlinks, that may be ok, but for inlinks it only works if the link source modules ale loaded.
int countOutlinks(Object objWork) {
int countInlinks(Object objWork) { I hope I met the correct syntax. |