Jump to content

WhoCanDo

Member
  • Posts

    402
  • Joined

  • Last visited

Posts posted by WhoCanDo

  1. Hi,

    Just installed Microsoft's Office 365 we based software and Vectorworks 2012 has stopped working with:

    Problem signature:

    Problem Event Name: BEX

    Application Name: VECTOR~1.EXE

    Application Version: 17.0.5.0

    Application Timestamp: 50379bde

    Fault Module Name: StackHash_4c0d

    Fault Module Version: 0.0.0.0

    Fault Module Timestamp: 00000000

    Exception Offset: 00000000

    Exception Code: c0000005

    Exception Data: 00000008

    OS Version: 6.1.7601.2.1.0.256.48

    Locale ID: 3081

    Additional Information 1: 4c0d

    Additional Information 2: 4c0d4d78887f76d971d5d00f1f20a433

    Additional Information 3: 4c0d

    Additional Information 4: 4c0d4d78887f76d971d5d00f1f20a433

    Anyone else had problems with Office 365?

  2. Because one of my customers has sent me a .dwg drawing with different scales on different layers I would like to customise the dimension units as I view each layer. I know that I can't set each layer to a different dimension unit scale so I would like to use a macro to easily change the dimension units as required.

    eg. the standard setting is 25.4 units per inch for metric

    The drawing shows 0.99999 but I know the scale is 1:50 so the dimension should be 50 rounded to no decimal places. ie "Smaller from Larger" should be 50 units per Millimeter.

    I had a look through the functions but I can't find one that does this. Any suggestions?

    Regards

  3. I have just copied and pasted this into a VS palette and the macro works fine.

    I have also copied and pasted it into a new VS Plug-in type Tool which also works for me.

    Can't offer a reason why it doesn't work for you though.

    Regards

  4. I want a symbol with pre-filled record information. Lets call it hook.

    1.

    If have drawn a hook then attach a record and fill in the record with Name, Length, Qty & Weight. I then pick the hook and create symbol.

    Placing this symbol on the drawing does not initially show and record attached but editing the symbol shows that it still has a record with data.

    2.

    If I right click on the symbol in the Resource Browser I have the option of "Attach" which allows me to choose from the record formats available.

    "Attach" does not attach anything and there does not seem to be be a way of adding data to the record even if it did.

    3.

    Working with 1. above, even though there is data embedded in the symbol, this data does not show up on the worksheets.

    I don't want to change the symbol to group during insertion because I lose the ability to revise all instances by editing the symbol.

    Is this a bug or am I missing something here?

  5. for i := LayerCount -1 downto 1 do

    begin

    h := NextLayer (h);

    LayerName := GetLName (h);

    end;

    No luck Pat,

    The original post was with spaces and the above is with spaces and "begin" has a tab.

    I have previewed this reply after copying from VW, copy & paste through Word, WordPad & Notepad but nothing works. I even added spaces after pasting but everything in the forum seems to be left justified. Is there a switch I need to flick in My Stuff?

    I have seen many people with my problem and I have also seen several comments from replies saying please format your code which is what I would like to do.

    Any other ideas?

  6. Hi,

    I've cut and pasted from the VS Editor several times and as I am writing this post I see the format is correct. ie "for" is left justified and "begin" is two spaces in as is Create, Set & end;

    for i := 4 to 6 do

    begin

    CreateThreeStateCheckBox (DialogID, i, Concat (' ', i));

    SetBelowItem (DialogID, i - 1, i, 0, 0);

    end;

    but when I hit "Submit", everything is left justified.

    This is OK for above but when there are many more lines of code it becomes harder to read.

    What am I doing wrong?

  7. Hi,

    Since BeginDialog is comming to its end, I want to try and convert my macros to CreateLayout but I can't find much help or examples.

    With the below, what is the next step to identify which box is checked?

    procedure test;

    var

    i, OI : integer;

    DialogID : longint;

    procedure Dialog_Handler (var a : longint; b : longint);

    begin

    end;

    begin

    DialogID := CreateLayout ('CHOOSE', False, 'OK', 'Cancel');

    CreateStaticText (DialogID, 3, 'Choose !', 30);

    SetFirstLayoutItem (DialogID, 3);

    for i := 4 to 6 do

    begin

    CreateThreeStateCheckBox (DialogID, i, Concat (' ', i));

    SetBelowItem (DialogID, i - 1, i, 0, 0);

    end;

    if (VerifyLayout (DialogID)) then

    If (RunLayoutDialog (DialogID, Dialog_Handler) = 1) then

    begin

    SetThreeStateCheckBoxState (DialogID, 4, 1);

    for i := 4 to 6 do

    begin

    GetThreeStateCheckBoxState (DialogID, i, OI);

    message (OI);wait(0.5);clrmessage;

    end;

    end;

    end;

    run (test);

  8. Quote:

    "Each of my temp dimmers has a record and field 'Dimming Data'.'Dimmer Name'. There are only individual entities at the moment so no double ups."

    so if there are no doubles then you expect SelectObj to only select one item, therefore ForEachObject will know the handle no matter which layer it is on.

    With

    procedure Record_H (h : handle);

    begin

    DIMH:=h;

    end;

    you will record h from any layer.

    Regards

  9. I've always wondered why SelectObj isn't:

    SelectObj (c:Criteria):FSHandle; ( 1st selected handle )

    and

    SelectObjs (c:Criteria);

    How much easier life would be.

    However

    ForEachObject (DoThis, ('Dimming Data'.'Dimmer Name'=LDCIRCUIT));

    may help!! :)

    Regards

  10. Hi,

    Sysbeep offers only the current system prompt sound. I know I can change the system prompt sound but I would like a variety of sounds that mean different things to me.

    How can my macros to choose and play a .wav or .mpg or etc. from VW?

    Regards

    Trevor

  11. Hi,

    I have been trying to resolve an issue with my plotter by redirecting my plotter port from com1: to "File" to see what is happening.

    All I get is an Adobe file which starts %!PS-Adobe-3.1

    The same drawing plotted with AutoCAD saves a file with DMPL commands as I would have expected.

    Why does Vectorworks produce this output and how does the plotter driver interpret it as compared to DMPL commands?

  12. Been working on it for a while and came up with:

    GetPt3D ( pX, pY, pZ, False);

    GetView (xAngleR, yAngelR, zAngleR, offsetX, offsetY, offsetZ);

    SetView (0, 0, 0, 0, 0, 0);

    Draw_3D; { My new symbol }

    Symbol (SymName, 0, 0, 0); { Get my new symbol }

    Move3D (pX, pY, pZ);

    SetView (xAngleR, yAngelR, zAngleR, offsetX, offsetY, offsetZ);

    I hope vw2011 has a Symbol3D (SymName, pX, pY, pZ);

    Regards

×
×
  • Create New...