Juan Posted February 12, 2000 Share Posted February 12, 2000 I have some problems with the SurveyFileImport, never work and always show me a Script Error: Line #56: datafile name: Text; {error:Expected name of a variable type.} etc..When I check this script in Create Plug In option, I found the same script like the old macro in MiniCad7. How can I fix this problem?..Thank you Quote Link to comment
Vectorworks, Inc Employee klinzey Posted February 14, 2000 Vectorworks, Inc Employee Share Posted February 14, 2000 I think I have seen this before. Check the type definition, The Text type is obsolete, it has been replaced by String type. Just change the declaration and it should work. [This message has been edited by klinzey (edited 02-14-2000).] Quote Link to comment
Juan Posted February 14, 2000 Author Share Posted February 14, 2000 Thank you Klinzey, the problem was fixed with your useful recomendations: GO TO CREATEPLUG-IN, search SurveyFileImport, click Script and change in Procedure: Procedure MyReadLn(dataFileName:STRING...) and change in Variable: VAR DataFileName:STRING...) The Text Type is obsolete ------------------------- THANK YOU SO MUCH J U A N 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.