MarckyMON
Computer
- Nov 30, 2010
- 93
Hello all,
I am having a real headache trying to figure out this problem, maybe you can help me??
I am trying to set strings for a multi-line string block, in Blockstyler, NX7.5 64bit. My code snippet is as follows:
Where <block_id> is the variable name of my multi-line string block.
The above code runs fine and there is no complaint from NX (as far as I can tell from the syslog), but under no circumstances are the strings shown in the block!
My guess is that I am using VS2008 and there is a possible issue with the std containers. Would that be a safe assumption? Or am I missing something here??
Much help would be appreciated, thank you!!
Marc
NX Software Developer
I am having a real headache trying to figure out this problem, maybe you can help me??
I am trying to set strings for a multi-line string block, in Blockstyler, NX7.5 64bit. My code snippet is as follows:
Code:
std::vector<NXOpen::NXString> strArray;
strArray.push_back("Test");
strArray.push_back("me");
<block_id>->SetStrings("Value", strArray);
Where <block_id> is the variable name of my multi-line string block.
The above code runs fine and there is no complaint from NX (as far as I can tell from the syslog), but under no circumstances are the strings shown in the block!
My guess is that I am using VS2008 and there is a possible issue with the std containers. Would that be a safe assumption? Or am I missing something here??
Much help would be appreciated, thank you!!
Marc
NX Software Developer