Jump to content
Developer Wiki and Function Reference Links ×

Converting Mini Cad 6.0 scripts to VW 10 scripts?


Brian E

Recommended Posts

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.

Link to comment

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 by Petri
Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...