Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

How to use MS excel function "ugattr"!

Status
Not open for further replies.

snakemaster

Automotive
Apr 5, 2010
10
I want to use this or another function in a macro and I want to extract all the attributes (at least the attribute name and value). "ugattr" is in the form of:

UGATTR( "object_name", "attribute_title", attribute_type)

I believe, "object_name" = "part" and "attribute_type" is a number 1 thru 4. I do not know what "attribute_title" is.

Please advise, Thanks
 
Replies continue below

Recommended for you

'Object Name' is the name assigned to an object so that the Spreadsheet knows which object to look at. You can assign names via the object Properties dialog but be careful that you're getting the actual geometric object and NOT the feature.

As for the 'Attribute Title', this the NAME of the Attribute being accessed.

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA

To an Engineer, the glass is twice as big as it needs to be.
 
What I am extracting is information like "Customer No.", "Part No." and "Drawing No." not feature/object information. I want a function that is a direct replacement (same information) for the menu pick "Extract Attribute". Can you give me an example of the function "UGATTR" that would extract all attributes and it's values. When I use "ALLATTR", I get the attribute names and type. At a minimum I need names and values.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor