cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

CREOSON: What's the hidden purpose that I don't understand?

Kittychen
12-Amethyst

CREOSON: What's the hidden purpose that I don't understand?

I tried equivalent functions listed in the manual https://creopyson.readthedocs.io/en/latest/modules.html for example:

  1. Called through a client session : c.drawing_get_sheet_format(1)
  2. Called from Creopyson module : creopyson.drawing.get_sheet_format(c,1)

And I found that they return the same result. Please ignore the specific example of "get_sheet_format"

my question is : why there are two ways to call the same function?

1 ACCEPTED SOLUTION

Accepted Solutions

Hi

there is no hidden purpose, the client session way is the simpliest way.

The other exists because of the structure of the librairy

View solution in original post

2 REPLIES 2

That is really a package / library question for the developer ... I would post that question on: 

 

https://github.com/Zepmanbc/creopyson/issues

 

 

 

 

Hi

there is no hidden purpose, the client session way is the simpliest way.

The other exists because of the structure of the librairy

Top Tags