How to delete a variable

Honored Contributor
Honored Contributor

How can I delete a variable from the variable table. If I cut the variable, a generated variable name takes it's place. There is no delete option.

 

Specifics: The variable was created by me from scratch to begin with to perform math to be displayed later in annotation. As I find mistakes or add new variables, sometimes I want to delete old ones. 

 

Yes I can write over the older unused variable with new stuff, but what if it's the last thing I need to do?

 

I don't want to track every unused variable to make sure I write over it. I just want to delete it at the time.

 

One reason this is important is that I'm making drafting templates that will be copied 1000's of times when it's complete. No baggage allowed.

4 REPLIES

Re: How to delete a variable

Phenom
Phenom

I seem to be able to select the first box in the row and hit delete and my variable is gone.

 

Bob Henry
Former Manager of Engineering
Caterpillar Global Mining America LLC

Re: How to delete a variable

Phenom
Phenom

Bob is right.

Pick on the left-most cell where it says Var or Dim before you hit Delete:

 

30-Jul-14 9-23-02 AM.png

 

Re: How to delete a variable

Honored Contributor
Honored Contributor

Thank you. That was it.

Re: How to delete a variable

Phenom
Phenom

Also to get rid of the 'extra baggage', here's a utility that can be useful:

A free macro that automatically removes all un-used variables:

 

http://community.plm.automation.siemens.com/t5/Solid-Edge-Developer-Forum/Identify-unused-User-Varia...

 

original.png

 

Regards,