Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request add Drawing sheet information into "Note.py" in "List" function. #76

Open
Nam-Hoang68 opened this issue Jun 12, 2023 · 5 comments

Comments

@Nam-Hoang68
Copy link

Creo version: Creo 9
Creopyson version: Version:0.7.6
Creoson version: Version 2.8.2
Python version: Version:3.11.3
Operating System: windows 10 x64

Description

I am using "Note.py" of CREOPYSON to extract Geometric tolerances from Multi-sheet CREO Drawing.
The results when using "Note.list" function did not return the Drawing sheet ID information that has Geometric tolerances.
For reference when using "Drawing.List_symbol" function, the results included Drawing sheet ID information.

What I Did

Could you please help me modify the "Note.list" function, that can return the Drawing sheet ID.

@Zepmanbc
Copy link
Owner

Hi
regarding Creoson documentation
Note.List: lists Notes
Drawing.List_symbol: lists symbols
I think «Geometric tolerance» is not a Note or Symbol object
I never had to deal with tolerances and Creoson, you should have a look to object.DimDetailData in Creoson documentation.
Sorry can't help you more about this

@Thai-NX
Copy link

Thai-NX commented Jun 12, 2023

In Drawing.List_symbol: lists symbols --> return: include sheet number
image
Could you do the same with Note.List: lists Notes
image

@Thai-NX
Copy link

Thai-NX commented Jun 12, 2023

For exmple:
here is the returns of Note.List: lists Notes
{'location': {'x': 493.9712844537856, 'z': -2.5898961071027332e-15, 'y': 133.9202192358037}, 'name': 'gp54', 'value': '&G54:6', 'encoded': False}
image
image

Could you add the sheet number information in Note.List: lists Notes

@Zepmanbc
Copy link
Owner

creopyson is just an overlay of Creoson, it returns what Creoson returns.
You can ask Creoson's team but I think it will be easier to create your own functions with differents queries to combine all the data you need.

@Thai-NX
Copy link

Thai-NX commented Jun 14, 2023

creopyson is just an overlay of Creoson, it returns what Creoson returns. You can ask Creoson's team but I think it will be easier to create your own functions with differents queries to combine all the data you need.

Thank for your reply.
Can you teach how to create the simple function, i'm jusst an CAD enineering, not much experiment in python or coding somthing.
Or you can mail me: xuanthai89@gmail.com
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants