Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

List added properties in drawing

Status
Not open for further replies.

VojtaR

Automotive
Joined
Apr 2, 2020
Messages
20
Location
CZ
Hello,

is there a way to list my properties in drawing when pointed to a product?
Properties_fmfnlk.png


Simply I want a text field like this:
Property 1: "Property 1 text" (link on property 1 as in picture)
Property 2: "Property 2 text" ......
etc...

I found that I should address it like this:
Call oDrawingTable.SetCellString(n, 3, ProductList(n).Product.UserRefProperties.Item.("Property 1"))

but I am keep getting nothing filled in the table. (Even when text box is not empty)

Can someone help me please?
 
Check if intele-sense populates:
Code:
UserRefProperties.Item.("Property 1")[highlight #73D216].value[/highlight])'or .name
 
Thank you for your answer, but it was not working either... I have looked through some other macros found on-line and found this is working:
Call oDrawingTable.SetCellString(n, 3, ProductList(n).[highlight #8AE234]ReferenceProduct[/highlight].UserRefProperties.Item("Property1").[highlight #8AE234]ValueAsString[/highlight])

If you need that some day...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top