×
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

The Custom Property Tab and API

The Custom Property Tab and API

The Custom Property Tab and API

(OP)
I have been setting up the Custom Property Tabs for my department.  As I get feedback from everyone, I have made modifications to them.  One of the things that changed was setting up all the properties to be configuration specific.  Easy to change that with the property tab builder.  Problem is that when you open the parts up, the custom specific properties aren't added.  If you reselect the same template under template options, everything updates fine.
    Is there a way to access the property tab template file that is loaded using API?  I would like to reload it automatically with a macro.  I didn't see anything in the API help or anywhere online.
    Thanks.
Chris
 

RE: The Custom Property Tab and API

Look at controlling configuration specific custom properties with a design table. Look for the $C, $D and $PRP entries.

TOP
CSWP, BSSE
www.engtran.com  www.niswug.org

"Node news is good news."

RE: The Custom Property Tab and API

Take a look at my macro here.  Might give you some ideas.  Configurations show up in the list box to the side (the code only allows 01 thru 99 configuration names right now, but that's easily removed).

The macro adds all wanted properties to configs that are selected in the list box.  It also deletes any not in the list.

James Spisich
Design Engineer, CSWP

RE: The Custom Property Tab and API

(OP)
James,
Thanks for the example. By seeing how you do it, hopefully I can get where I need to be.

Chris

RE: The Custom Property Tab and API

If you're "starting from scratch" and can control properties from the get go you don't need all the comparisons to get it done.  I had to control really bad historical parts so I needed something that isn't case sensitive.

James Spisich
Design Engineer, CSWP

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