Hello,
We are working in a Tcl script because we need to detect duplicates classes in a TAU model.
We are begining with the documentation examples. For example the next script:
ITtdEntitiesPtr pSignatures;
pSignatures = pPackage->GetEntity("Signature");
long lCount = pSignatures->Count;
ITtdEntityPtr pSignature;
// N.B. Index are 1-based
for (int i = 1; i <= lCount; i++){
pSignature = pSignatures->GetItem(i);
// Do something with pSignature...
}
We create a Tcl file in the project. And when I execute the script (Ctrl+F5), I obtain the next error:
Error during tcl evaluation:
invalid command name "ITtdEntitiesPtr"
while executing
"ITtdEntitiesPtr pSignatures"
Best regards,
Javier MartÃnez.