×
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

Macro for passing values into designtable

Macro for passing values into designtable

Macro for passing values into designtable

(OP)
I have a created a SW part with the part dimensions controlled thru a design table.

I need a macro that would pop up a form and allow the users to select values and pass it to the design table & update the model.

Does anyone have some similar macro and can share this with me?

Regards,
RK

RE: Macro for passing values into designtable

(OP)
Yes but the design table (Excel) entries are not getting recorded...

I have not used vba editor extensively but would like to create a form in this case to pass in the values.

I have a table of values and the values are interdependent. The idea here is, I don't want the users to open the design table but would like to have them run a macro and select the values from a form & pass it into design table.

I am not looking for an exact macro but something similar so that I can use that and continue ahead.

RE: Macro for passing values into designtable

If no one comes up with API code for directly interacting with the design table, you might try attacking it in the following manner:

Ensure that the system options are set to allow model edits to change the design table, and then use the API to modify model items tied to the design table.  You may need to create some dummy sketches or custom properties (potentially configuration specific) if the parameters that you wish to change do not appear directly in your model geometry.  If you want the new values to be used in a new configuration, you would need to use the API to create that configuration before changing the model values.

Also, I have seen DriveWorks suggested as a possible solution when others have posted questions similar to yours.

Eric

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