SimplifiedLogic / creoson

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

windchill: Logging in windchill automatically #43

Closed terryxychan closed 4 years ago

terryxychan commented 4 years ago

Hi,

I've been experimenting with Creoson through Creopyson and I haven't found a way to automate certain processes, mainly at authentication.

Question 1:

Question 2:

Thank you so much!

terryxychan commented 4 years ago

I have solved these problems by launching creo through creopyson's start command:

c = creopyson.Client(ip_adress="localhost",port=9056)
c.connect()
c.start_creo("path to nitro_proe_remote.bat")

By using this, Creo will not prompt me asking for credentials. Ans I was able to access my Windchill server after I did:

c.windchill_authorize("username", "password")
terryxychan commented 4 years ago

I will close this issue after a week if no one comments.

davidhbigelow commented 4 years ago

Oh - I was getting ready to take a closer look at that...

Congrats! Glad you got it working!

Dave

On Fri, Feb 14, 2020 at 4:16 PM Terry Chan notifications@github.com wrote:

I have solved these problems by launching creo through creopyson's start command:

c = creopyson.Client(ip_adress="localhost",port=9056) c.connect() c.start_creo("path to nitro_proe_remote.bat")

By using this, Creo will not prompt me asking for credentials. Ans I was able to access my Windchill server after I did:

c.windchill_authorize("username", "password")

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/SimplifiedLogic/creoson/issues/43?email_source=notifications&email_token=AAMSRJPE7CPCWLR72SQ3VJ3RC4CZDA5CNFSM4KVMRDL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL2OQZI#issuecomment-586475621, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMSRJK7LK743XXMCGSSYLLRC4CZDANCNFSM4KVMRDLQ .

-- David Bigelow, President Simplified Logic, Inc https://www.simplifiedlogic.com | SimilarParts.ai C: 317-431-5454

Zepmanbc commented 4 years ago

I've never tested winchill_authorize, I connect to Windchill with SSO, glad to know it works :+1: