×
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

Added properties from p'art to title block using Macro

Added properties from p'art to title block using Macro

Added properties from p'art to title block using Macro

(OP)
I want to get Added properties from part to Title block.
I am using Macro. I do not know how i can link added properties from part to title block using macro
Example:

'How to fill in texts with data of the part/product linked with current sheet

    DrwTexts.GetItem("TitleBlock_Text_Number_1").Text = ProductDrawn.PartNumber
    DrwTexts.GetItem("TitleBlock_Text_Title").Text  = ProductDrawn.Definition

This two row are OK but i do not know go on for added properties from part

RE: Added properties from p'art to title block using Macro

Hi there.

Try to use your macro recorder while editing your custom properties. This way you'll see the code required.

-Bjod

RE: Added properties from p'art to title block using Macro

(OP)
Thank bjod
I do not know which code is for drafting
I try this
 DrwTexts.GetItem("TitleBlock_Text_Drawing_number").Text  =  ProductDrawn.UserRefProperties("Plo?a\Properties\BrojNacrta")
Macro does not work in drafting
Can zou help me

RE: Added properties from p'art to title block using Macro

(OP)
I got it

I have to type this
    DrwTexts.GetItem("TitleBlock_Text_Drawing_number").Text  =  ProductDrawn.UserRefProperties.Item("Drawing number").value

Again Bjod
thanks of lot

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