SimplifiedLogic / creoson

OpenSource Automation using JSON Transactions for PTC's CREO Parametric
http://www.creoson.com
MIT License
79 stars 23 forks source link

Param List Error on Creo version 9 #79

Open btxp opened 2 years ago

btxp commented 2 years ago

I have been getting the following error when using the "parameter", "List" Function only Creo 9 is affected (version 3 & 8 are unaffected) I have tried the using the new feature "creo", "set_creo_version" but still get the same error

{"status":{"error":true,"message":"A PTC error has occurred when retrieving parameter DESCRIPTION: Obsolete Functionality. Check your model/drawing for accuracy."},"data":null}

Anybody help with this? Thanks in advance

adama2000 commented 2 years ago

We haven't yet tested creoson with Creo 9, some of the functionality may have changed. I'll look into it.

On Wed, May 25, 2022 at 5:04 PM btxp @.***> wrote:

I have been getting the following error when using the "parameter", "List" Function only Creo 9 is affected (version 3 & 8 are unaffected) I have tried the using the new feature "creo", "set_creo_version" but still get the same error

{"status":{"error":true,"message":"A PTC error has occurred when retrieving parameter DESCRIPTION: Obsolete Functionality. Check your model/drawing for accuracy."},"data":null}

Anybody help with this? Thanks in advance

— Reply to this email directly, view it on GitHub https://github.com/SimplifiedLogic/creoson/issues/79, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANPKPHHRWQOPFGBBCYIWH3VL2IVTANCNFSM5W6QCHQQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

adama2000 commented 1 year ago

In Creo 9 the standard JLink call (Parameter.GetValue()) we use to get a parameter value now returns that "Obsolete Functionality" error. There is an alternate function Parameter.GetScaledValue() which still works, but we're going to have to convert the code to use it.

Adam Andrews

On Thu, May 26, 2022 at 12:29 PM Adam Andrews @.***> wrote:

We haven't yet tested creoson with Creo 9, some of the functionality may have changed. I'll look into it.

On Wed, May 25, 2022 at 5:04 PM btxp @.***> wrote:

I have been getting the following error when using the "parameter", "List" Function only Creo 9 is affected (version 3 & 8 are unaffected) I have tried the using the new feature "creo", "set_creo_version" but still get the same error

{"status":{"error":true,"message":"A PTC error has occurred when retrieving parameter DESCRIPTION: Obsolete Functionality. Check your model/drawing for accuracy."},"data":null}

Anybody help with this? Thanks in advance

— Reply to this email directly, view it on GitHub https://github.com/SimplifiedLogic/creoson/issues/79, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANPKPHHRWQOPFGBBCYIWH3VL2IVTANCNFSM5W6QCHQQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

adama2000 commented 1 year ago

Just posted a new release of Creoson which works with Creo 9. The Obsolete Functionality error will only occur if your PATH is still pointing to an older version of Creo, so make sure you change the path using the CreosonSetup app, or by editing the setvars.bat file.

Adam Andrews

On Thu, Aug 25, 2022 at 10:40 PM Adam Andrews @.***> wrote:

In Creo 9 the standard JLink call (Parameter.GetValue()) we use to get a parameter value now returns that "Obsolete Functionality" error. There is an alternate function Parameter.GetScaledValue() which still works, but we're going to have to convert the code to use it.

Adam Andrews

On Thu, May 26, 2022 at 12:29 PM Adam Andrews @.***> wrote:

We haven't yet tested creoson with Creo 9, some of the functionality may have changed. I'll look into it.

On Wed, May 25, 2022 at 5:04 PM btxp @.***> wrote:

I have been getting the following error when using the "parameter", "List" Function only Creo 9 is affected (version 3 & 8 are unaffected) I have tried the using the new feature "creo", "set_creo_version" but still get the same error

{"status":{"error":true,"message":"A PTC error has occurred when retrieving parameter DESCRIPTION: Obsolete Functionality. Check your model/drawing for accuracy."},"data":null}

Anybody help with this? Thanks in advance

— Reply to this email directly, view it on GitHub https://github.com/SimplifiedLogic/creoson/issues/79, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANPKPHHRWQOPFGBBCYIWH3VL2IVTANCNFSM5W6QCHQQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>