×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

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

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

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

(OP)
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

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

(OP)
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.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources