Jump to content

Fuge

Member
  • Posts

    157
  • Joined

  • Last visited

Posts posted by Fuge

  1. 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

  2. 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);

  3. 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.

  4. 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.

×
×
  • Create New...