-
Posts
157 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Articles
Marionette
Store
Posts posted by Fuge
-
-
Juan,
You now need to use "Menu Chucks"
{ To Group }
Domenutextbyname('Group Chunk',1);
{ To Ungroup }
Domenutextbyname('Group Chunk',2);
See
Appendix H - DoMenuTextByName Constants
http://www.nemetschek.net/support/vscript/vs_function_ref/VSFunctionReference.html
HTH
[This message has been edited by Fuge (edited 08-14-2001).]
-
Sam,
I gave this a try and it worked for me?
It assumes the Fixture Data record format already exists.
------------------------------
Procedure Test;
Var
TypeString,WattageString:STRING;
SymbolHandle:HANDLE;
begin
TypeString := StrDialog('Fixture Default Type','');
WattageString := StrDialog('Fixture Default Wattage','');
DoMenuTextByName('Create Symbol',0);
SymbolHandle := ActSymDef;
SetRecord(SymbolHandle, 'Fixture Data');
SetRField(SymbolHandle, 'Fixture Data','Type',TypeString);
SetRField(SymbolHandle, 'Fixture Data','Wattage',WattageString);
end;
run(Test);
-
I wish I had an easy answer for this one.
I am not a programmer, so I can tell you it can be learned. The best advise I can give
is to look at what examples there are with VW 8.5. VectorScript is an off shoot of pascal
so a book on pascal is a good start because there are no books to my knowlegde on Vectorscript.
Your best bet is trial and error and
and posting to the VS list server.
Just know if you buy VectorWorks 9 there are NO examples of scripts that are unlocked, so
things are not easy to learn from.
-
I have not used these two commands as of late, but are you forcing a screen redraw in your script to make sure your seeing what's actually happening?
Just a thought.
-
Funny you ask that. I have used Vectorscript
for years, and as far as this board is concerned, I just found it by accident looking at what's new on the NNA site.
NNA didn't bother telling anyone this board existed. I have been subscribed to the VS list server for years and it wasn't even announced there of all places.
My impression is this board isn't monitored
very well by NNA. I'm curious to see if my
post gets looked at.
z value
in Vectorscript
Posted
If you are trying to get the height of a 3d
symbol try using Get3DInfo();
If you are trying to get how far a symbol
is offset from zero then you need to
use Get3DInfo(); and Get3DCntr();
and do a subtraction to find the bottom
of the 3d symbol.
HTH