Brian E Posted January 31, 2007 Share Posted January 31, 2007 We have a set of fairly complex scripts that were written years ago in Mini Cad 6.0. The programmers are no longer around and we are not aware of how to bring these scripts up to our current version: VW 10.5. Does anyone know of a way to do this? Thanks ahead of time. Quote Link to comment
Petri Posted January 31, 2007 Share Posted January 31, 2007 I don't think there is an easy way. It would perhaps be possible to make a plug-in for a text editor (like TextWrangler or BBEdit) to highlight obsolete keywords, but there is no conceivable mechanism for replacing those with current functions and procedures as the syntaxes are entirely different. Obviously you need to find a new programmer or learn yourself. But always look at the bright side of life: with the current version of VS the scripts can be improved significantly. Quote Link to comment
Brian E Posted January 31, 2007 Author Share Posted January 31, 2007 Thank you for the assistance, it is appreciated. ---Brian Quote Link to comment
Petri Posted January 31, 2007 Share Posted January 31, 2007 (edited) This perhaps does not go sufficiently back in time, but nevertheless: "Obsolete Functions VectorWorks12.0 AddCavity GetTexBitPaintNode SetTexBitPaintNode SetWallWidth SetWSCellBorder VectorWorks10.1 CreateTextureBitmap VectorWorks9.0 ActSSheet CellHasNum CellHasStr CellString CellValue CloseSS EditTextureBitmap GetCAlign GetCellNum GetCellStr GetCWidth GetSprdSortSum GetSprdSortSumColumns GetTexBitmapOrigin GetTextureShader GetTextureShininess GetTextureTransp LoadCell NewSprdSheet SelectSS SetSprdSortSum SetSprdSortSumColumns SetTexBitmapOrigin SetTextureShader SetTextureShininess SetTextureTransp SprdAlign SprdBorder SprdFormat SprdSize SprdWidth TargetSprdSheet VectorWorks8.0 DoMenuText" I don't think there were casualties between MC 6 and VW 8, but I could be wrong. Meanwhile in the Marylandish Jungle they have created tens of new & replacement functions and procedures. I have been able to replace subroutines of tens of lines of code with a single call. These include array sorting and (especially) GetObjectVariable/SetObjectVariable calls. Not to mention dialogs: the "Modern" dialogs are vastly more capable. EDIT Don't do anything (unless absolutely necessary) until you have upgraded. VW 12 has even more than VW 10. Edited January 31, 2007 by Petri 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.