Synch parameters between models

Discussion in 'Pro/Engineer & Creo Elements/Pro' started by Robert, Apr 5, 2006.

  1. Robert

    Robert Guest

    Is there a way to synch parameters between models?

    Thanks
     
    Robert, Apr 5, 2006
    #1
  2. Robert

    David Janes Guest


    Sounds like a great idea, but no, there's no "synch parameters" function.
    ModelCheck has something similar, to add parameters but without copying values (it
    adds the parameters then bugs you to add the values); and I've heard of using a
    Start part, imported somehow, to get the values into another model. This comes up
    constantly with legacy data and it's a wonder there isn't something out there, on
    the market, to accomplish precisely this task. (YOu know that once someone else
    did the work to invent the thing, PTC'd come right along behind with a nice check
    to buy them out. Nothing independent survives with PTC around. But I'm thinking
    that the 'bought out' like it like that.)

    Pro/e's many backward features offer oddles of opportunities for commercial
    invention. Likely candidates lie on the flat and inhospitalbe ground of
    "Edit>Setup". Macros in Pro/e (called, uniquely, proprietarily "Mapkeys") are a
    hideous mess, needing a documented programming language, an interface,
    editability, debug capability and fundamental separation from menuing. Other
    candidates lie in the equally inhospitable land of non-configurable "settings",
    ones which provide 'some' way to change them but no way to change their default
    values. And there's DOZENS of them!!!
     
    David Janes, Apr 7, 2006
    #2
  3. Robert

    miaousse Guest

    David Janes a écrit :
    I do this with weblink
     
    miaousse, Apr 7, 2006
    #3
  4. Robert

    huggre Guest

    I agree that the WEBLink method should do the trick, here are some
    other dirty ways to do it depending on how and when you want to sync!

    1. If you are using Intralink or PDMLink you can write a Oracle skript
    or trigger that updates Pro/E parameters by predefined rules.

    2. In the Pro/Program Input/End Input section of your startpart define
    that you want to read the parameter values from an external file at
    regeneration.
    Now you only have to update this textfile and all models will get the
    new value at regeneration.

    Hugo
     
    huggre, Apr 7, 2006
    #4
  5. Robert

    David Janes Guest

    That's nice, I've never even been able to find documentation on what weblink is or
    what you can do with it. Care to give us the 15 second tour?
     
    David Janes, Apr 7, 2006
    #5
  6. Robert

    huggre Guest

    David

    Where do i start?
    Are you familiar with JLink?

    Both JLink and WebLink are java based API's (Application Programing
    Interface) to Pro/Engineer.
    In short you can actually run/call Pro/Engineer functions from a java
    application (JLink) or from a JavaScript (WebLink)
    JavaScripts are normally run within a html page and a web browser and
    thereby the name WebLink.
    The API consist of a lot of java classes with methods and properties
    that allow your program to communicate with Pro/Engineer.
    Besides all the Pro/Engineer functions you also have the power of the
    general java/javascript language.

    What you can du with it you ask?, hmmm
    A lot of the functions you use when working in Pro/Engineer is
    available trough the API.
    I have created a very userfrendly html page in WebLink for changing
    model parameters, here i show the user a description of all the
    parameters he/she needs to fill out and what they do, i also restrict
    values for some of the parameters using a simple dropdown box created
    using javascript.
    If im not mistaking the Pro/Engineer ModelCheck applications is all
    created in WebLink.
    The API is installed by default when installing Pro/E and is free to
    use by anyone.

    Pro/E has a third API called Pro/Toolkit, This is based on the C
    programming language and is more powerfull but also has a higher
    learning curve.

    You can find more info on Jlink and WebLink in the jlink and weblink
    folders in your proe install dir.

    Hugo

    David Janes skrev:
     
    huggre, May 2, 2006
    #6
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.