SimplifiedLogic / creoson

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

Suppressed components appear in a bom #112

Open yuyaU0507 opened 1 week ago

yuyaU0507 commented 1 week ago

Hi there,

I'd like to obtain component info including in an assembly file. To do this, I tried bom_get_paths() in the creopyson command, and found a returned text containing info on some suppressed components. These components are not contained in a bom output from the Creo's default function. Thus, I wonder how and why this information was obtained from the function because some suppressed components were listed in the box, and the remaining were not. In the Creopyson Documentation, it is described that the function will still exclude any components with a status of INACTIVE or UNREGENERATED. Does it exclude suppressed components?

Thanks.

adama2000 commented 1 week ago

I've looked at the source code. Here is what's excluded from the BOM:

Hope that helps.

On Thu, Sep 5, 2024 at 12:55 AM yuyaU0507 @.***> wrote:

Hi there,

I'd like to obtain component info including in an assembly file. To do this, I tried bom_get_paths() in the creopyson command, and found a returned text containing info on some suppressed components. These components are not contained in a bom output from the Creo's default function. Thus, I wonder how and why this information was obtained from the function because some suppressed components were listed in the box, and the remaining were not. In the Creopyson Documentation, it is described that the function will still exclude any components with a status of INACTIVE or UNREGENERATED. Does it exclude suppressed components?

Thanks.

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

Zepmanbc commented 6 days ago

you can use Creoson without creopyson functions with this to try and see if you get what you expect: https://creopyson.readthedocs.io/en/latest/usage.html#vanilla-creoson-usage