SimplifiedLogic / creoson

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

Request - list_view_details function #62

Closed gazontimide closed 3 years ago

gazontimide commented 3 years ago

Hi, in the next Creoson version release, when using the list_view_details function in a drawing, would it be possible to return even more details about the view? In particular the "View model" and "View ID" of the view?

In our drawings, most of the time we have more than 1 model in the drawing (often family table instances). Knowing which view is from which model would be really helpful for some automation, in my case.

Thanks,

adama2000 commented 3 years ago

We're planning a new release pretty soon, but I should be able to add that. Any other details that you want for list_view_details?

On Tue, Mar 16, 2021 at 2:09 PM gazontimide @.***> wrote:

Hi, in the next Creoson version release, when using the list_view_details function in a drawing, would it be possible to return even more details about the view? In particular the "View model" of the view?

In our drawings, most of the time we have more than 1 model in the drawing (often family table instances). Knowing which view is from which model would be really helpful for some automation, in my case.

Thanks,

— 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/62, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANPKPGU73YAZEQ5N7FKZDLTD6NE5ANCNFSM4ZJB2XWA .

gazontimide commented 3 years ago

I guess "View Type" and "Model Rep" could also be useful, other than, personally, I'm not sure, I always find more ideas as I work with this tool and my needs grow as I go!

adama2000 commented 3 years ago

Looked into this:

On Tue, Mar 16, 2021 at 5:01 PM gazontimide @.***> wrote:

I guess "View Type" and "Model Rep" could also be useful, other than, personally, I'm not sure, I always find more ideas as I work with this tool and my needs grow as I go!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/SimplifiedLogic/creoson/issues/62#issuecomment-800601838, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANPKPHPOHY4R2RNUMJBRWLTD7BK5ANCNFSM4ZJB2XWA .

gazontimide commented 3 years ago

Yes by Model Rep I meant Simplified Rep. I was foolishly looking at the "Drawing View" information button in Creo and saw very interesting information there, but I didn't look if it was all available in the JLink doc.

image

adama2000 commented 3 years ago

Added view_model, simp_rep to output. It'll be in the upcoming release.