Jump to content
Sign in to follow this  
Brian E

Converting Mini Cad 6.0 scripts to VW 10 scripts?

Recommended Posts

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.

Share this post


Link to post

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.

Share this post


Link to post

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

Share this post


Link to post

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.

Sign in to follow this  

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...