Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

System.OutOfMemoryException - AskIdSymbolInfo - NX 7.5.2.5 MP2 vs NX 7.5.4.4 MP10 NX-Open C#

Status
Not open for further replies.

Starscream14

Mechanical
Feb 19, 2007
3
Custom code using C# fails on ID Symbols having multiple leaders on drawing. Worked in NX7525, not in 7544 nor 7554. I've heard rumblings that changes happened between 7.5.2 and 7.5.5 (e.g., SelectObject deprecated for NX8, but new function SelectTaggedObject was introduced in 7.5.4). Before I work to resolve with the OE, wanted to see whether anyone could weigh in here. Hoping this may be simply updating the C# source line(s), recompiling, and republishing in our environment. I can attach or paste code here depending on whether you may want to see for debug. Thanks.

Incidentally, error same as an older post from User in NX4 patch change scenario:

Link
 
Replies continue below

Recommended for you

Siemens has collected as a PR (6950938), so hopefully our programmer can make the C# subroutine changes to get our custom command working once again for the short-term (queries all ID Symbols, sets color to same for all, then applies the component property for CALLOUT value to the symbol text string, then recolors all symbols based on whether text is updated per the property, has multiple leaders, has not been updated, or other. If, in a given assembly drawing, any child component member has no corresponding symbol, our routine for creating CGM/TIF/client objects will not execute until this criteria has been met, among others.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor