×
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

locating design table path with vb code api's

locating design table path with vb code api's

locating design table path with vb code api's

(OP)
i'm using v5r12 sp6

i routinely do the following with mouse clicks (i.e. interfacing via the gui):  say that i've got some catpart file open and it uses an excel design table file, and my catia options are set so that my spec tree shows the design table icon (usually down in relations), so that i can right-click properties over this design-table icon in the spec tree and it will pop up a window showing me the path to THAT particular design table.......and that's how i discover where that excel file exists on my hardrive.....

question: how do i do the same thing but with vb ?   what are the api's that my vb prog should be calling in order to retrieve that info (=the path of the xcel file) ?

thanks so much for any help or suggestions that one might give .... maris

RE: locating design table path with vb code api's

(OP)
thanks everyone, but i just found this one out on my own :)
it was straightforward, actually,,,,i seemed to have missed it the first time around....

just declare a designtable viz,
dim dt as DesignTable

then hook it into some relavent relations object e.g.,
set dt = partdoc.part.relations.item("DesignTable.1")

then grab the info that i want (the xcel path name) viz,
msgbox dt.FilePath

i should have seen this before i posted this question, sorry..

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