t-bud Posted February 23, 2020 Share Posted February 23, 2020 I have some scripts that place data into Lighting Device Parameter Fields. WIth VW2020 SP2.1, the changes do not seem to be written into the .XML for export into Lightwright. I have to do a complete export for the updated information to be sent to LW. I did not notice this behavior in VW2019. Is there a function that I need to call now for VW to register the changed data for inclusion in the .XML? Quote Link to comment
JBenghiat Posted February 24, 2020 Share Posted February 24, 2020 I don’t think any behavior would be different for 2020 here — there is no reason that changing a field via script would trigger a field export. You can try simply resetting the object (ResetObj), but you may have to explicitly export: http://developer.vectorworks.net/index.php/VS:SL_Export Quote Link to comment
t-bud Posted March 3, 2020 Author Share Posted March 3, 2020 Thanks J, ResetObject() does the trick. Is there documentation anywhere that you know of, that describes the Export Type options of the SL_Export Procedure? Quote Link to comment
JBenghiat Posted March 4, 2020 Share Posted March 4, 2020 3 hours ago, t-bud said: Is there documentation anywhere that you know of, that describes the Export Type options of the SL_Export Procedure? Not that I know of, though I'm guessing the options are probably full and regular export, so 0 and 1 or 1 and 2. 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.