dave-howard / vsdx

vsdx - A python library for processing .vsdx files
BSD 3-Clause "New" or "Revised" License
67 stars 25 forks source link

Retrieve the BaseID of a Shape's Masters XML part #44

Closed jmgarcia-iriusrisk closed 2 years ago

jmgarcia-iriusrisk commented 2 years ago

Hi @dave-howard, first to all, I would like to say thanks for this library, it became very helpful in our daily tasks. We are trying to difference between shapes that has the same master name, as we can see, the only way to do that is to use the BaseID from Masters XML Part but the library doesn't expose that attribute, could be posible to update it with that new attribute?

Thanks for your great work. Kind regards, Juan.

dave-howard commented 2 years ago

HI @jmgarcia-iriusrisk - I've added a master_base_id property to Page class now,

Kind regards Dave

jmgarcia-iriusrisk commented 2 years ago

Hi @dave-howard, thanks for your fast reply. Could it be possible to retrieve the UniqueID of the Master too? As we've seen with the AWS Stencils response in Visio, image

that seems to be the identifier: image

Thanks for your great work. Kind regards, Juan.

dave-howard commented 2 years ago

Hi @jmgarcia-iriusrisk - I'll add this property in next release

dave-howard commented 2 years ago

Done Page.master_unique_id property added in v0.5.9