Listing all expressions

I have list of expressions, I want to filter out expressions based on UserDefined/Named/All. Is this property of expression?

Ankita

I've been looking through the documentation and experimenting with some code, but have not found a foolproof way to distinguish between system/user defined/named expressions.

What I have found (NX 8.5) is that all the system created expressions have a description attached to them, but there is no way to add a description to a user-defined expression. You may be able to use this to distinguish between system and user-defined expressions. If a future version allows the user to add descriptions, then this approach becomes worthless.

NX must have an internal way of determining the type of expression; either we have not found it yet, or it is simply not made available through the API.

You can assign a description to an expression by calling NX/Open or SNAP functions. So, looking for a description is not a fool-proof way of finding system-created expressions. As far as I know, there is no way to distinguish (though, of course, I could be wrong).

ciao,
Up through NX 8.5, the expression description appears to be read only and can only be assigned by the system. I agree that it is not a fool-proof method, there must be a better mechanism available to distinguish between the expressions. But, I'd be interested in any code snippets you have that can change the expression description (not the expression comments).

Thanks!