var productLink - Global Parameter? Trying to Make an Array of a Parameter

var productLink - Global Parameter? Trying to Make an Array of a Parameter

jonathanBUCVS
Advocate Advocate
393 Views
2 Replies
Message 1 of 3

var productLink - Global Parameter? Trying to Make an Array of a Parameter

jonathanBUCVS
Advocate
Advocate

I am trying to output the variable productLink into my Excel setup sheet, but I am having trouble. It appears to be a global variable, because i cannot read it with getParameter("operation:tool_productLink"), but I can read it with getGlobalParameter("operation:tool_productLink").

 

My current thought for a work around is to make an array of all the productLink values, which would be indexed by Section, and I could call each one based on the section number. I already have a for loop counting number of sections.

 

I am getting stuck trying to make an array of all of the productLink variables from the record so I can reference them to the individual section and read them into the final tool list array. But if there is a better way, I am open to that too.

 

 

0 Likes
Accepted solutions (1)
394 Views
2 Replies
Replies (2)
Message 2 of 3

jonathanBUCVS
Advocate
Advocate

@boopathi.sivakumar  when you get a chance, could you help me with this productLink parameter?

In unrelated news, I was able to adapt your tool list header code to my Excel setup sheet post, so that too outputs "duplicate" tools with different offsets, so thank you again for that. 

0 Likes
Message 3 of 3

jonathanBUCVS
Advocate
Advocate
Accepted solution

Found some help from a fellow user in a related thread here if anyone needs a solution: https://forums.autodesk.com/t5/hsm-post-processor-forum/csv-setup-sheet-how-to-output-quot-links-quo...

0 Likes