Juliensv Posted June 6, 2023 Share Posted June 6, 2023 (edited) Hello All, I have a PIO which pulls data from title block project data as well as the sheet number and sheet title. I'm wondering if there's any way to make the PIO reset whenever I change this data. It is event-enabled. Thanks! Edited June 6, 2023 by Juliensv It is event-enabled Quote Link to comment
Jayme McColgan Posted June 10, 2023 Share Posted June 10, 2023 as far as I know, there's no way to have a PIO listen for other plugin changes. if it was 2 of your own plugins you could have 1 reach out and update the other but not with built in VW plugins. Quote Link to comment
Jesse Cogswell Posted June 10, 2023 Share Posted June 10, 2023 There is code that you would think would work using the AddAssociation function, but it only allows for resetting or deleting your plug-in if the linked object is deleted. Someday they might add the functionality that you are looking for, but until that day, I recommend putting in a "Refresh" button in the Object Info Palette that forces a reset. Quote Link to comment
twk Posted June 10, 2023 Share Posted June 10, 2023 (edited) As others have stated, we;re limited with the vectorscript/python implementations provided by vectorworks. What I have done with other similar plugins, is a menu item that runs a script looking for changes across the document and updating relevant/linked plugins as needed. Edited June 10, 2023 by twk Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.