Jump to content


  • Posts

  • Joined

  • Last visited

Posts posted by tismacfan2

  1. Can someone help me with the following script.
    I want a text file where I can manually enter the floor pass and the ceiling height in the info palette. But I would also like to see a text appear when I request it with the TAW. I then have to manually enter the value TAW in the info pallet, for example the pass 0 = at a TAW of 1860. Then a kind of calculation has to follow in which the TAW is determined in function of my zero pass. So, for example, if I enter a pass of +30, I must get the value of TAW + pass = 1890 for the value TAW. Suppose my pass is -200 then I must get the value of TAW(1860)+(-200) = 1660614105778_Schermafbeelding2021-09-16om20_49_37.thumb.png.540aebc72e0d61d0b40eea3fefb70c6e.png

  2. 1.How should I start the script to draw a polyline to work out a slope. The values I enter are the starting height and the slope. I've made one now, but have yet to manually enter the length. So my question is can a script be made where I determine the length by 1 click and based on this length, the infeed height and the slope that my polygon is drawn with the top side under slope



    2.Can I find a workflow or tutorial how I can make my own pictograms for my scripts


    Thanks for the info

  3. Hello Pat


    The first thing to select different shapes has I managed with your tip, but the second

    "You can certainly add a prefix. Just have to define it.  Something like SetName(H1, Concat('TisMacFan-',Num2Str(0,N1)));  You could store it in a variable and CONCAT the variable instead of hard coding it. Or you could create a custom dialog box (or use two dialog boxes) to allow you to enter the prefix the same way you enter the number holding down the command key."  I don't understand how to start with it.  

    I like to work with a variable, or with to dialogboxes

    So I hope you can help me a little bit further with this part of the script


  4. hello pat

    Thank you very much for the script you made for me. It looks very good and is already moving in the direction I want. But I still had a few questions.

    1. I now see that it only works on rectangles, can this also be extended to other 2d shapes?
    2. Could there be a field somewhere where I could enter a prefix, followed by the automatic number?

    3. Suppose I have 2 shapes whom I want to call "wall" 1 and "wall" 2.
    Then I want to number further with "window" 1 and "window" 2. How can I reset the numbers?

    If these things were possible, I would have a very strong script for making my measurement statements for the drawings that are still drawn in 2d.

    Thanks again for the help.

  5. Hello Pat


    Thanks for the help you want to give me.

    I try to describe what I want.


    It's actually about making a measurement statement for 2d drawings. In the facade I now draw surfaces for the different facade elements with rectangles. I now manually enter a name for these rectangles via the PIO and then I can retrieve the name of that rectangle and the dimensions to retrieve the m2 via spreadsheet. So now I have to draw the rectangle every time and then manually enter a name. So I wondered if I could create that name by, for example, a kind of stamp. But then a stamp that is immediately linked to that rectangle. Then I don't have to do that manually for every rectangle. The order of the numbering is actually determined according to the click on the rectangle or object that I click. I hope this is clear?



  6. how can I create a script that develops an object of a certain type and class and automatically gives it a name and number. The name I want via info palette as a prefix type, followed by a sequential number. Of course there should also be an option to reset the number so that I can add again to number.


    Thanks for the help


  7. The resource materials still raises some questions for me. Why cannot one set the pen thickness and the 2d line hatching, eg to see the hatching of a floor slab in the 2d plan? You can set the texture and fill of the cut through the materials, but to set the pen width and line shading you have to go through the classes again. Isn't that a bit complex, or is there some other reason for it?



    • Like 4
  8. Hello


    how can I script several curved poly lines with a different offset and fillcolor on base of settings from my classes.?
    No I make something, but it only works in a straight way, not in curved modus



    PROCEDURE tegelwand;

        l            := PLINELENGTH;
        md            := pmd;
        td            := ptd;

        { teken onderlegger }
    poly (0,0,l,0,l,pmd,0,pmd,0,0);
        { teken tegels }


        { teken muur }

    { teken daglijn }

    moveto (0,pmd);



    { teken daglijn}












  9. When will workable spreadsheets finally be made? Working in spreadsheets is excruciatingly slow, if you cancel something you jump back to the top of the worksheet and you can search where you were. You cannot search for values in the table.  Scrolling in a spreadsheet is not workable at all. Deleting multiple rows or columns will jump back to one row or one column after selecting multiple rows or columns. and so on and so on

    Help I need a good working tool!!



  10. no this is not the problem. The classes from the slab are active, because some slabs works very good, other slabs disrepair when I double click on it  when I try to work on it. Then I get the message there is not a graphical object, so if you leave the workspace from the slab then it is totally gone an must a redraw the slab



  11. I don't really understand what is happening with the slabs at Vectorworks. I have a large project where I drew all my slabs and attached them to walls. I then have to do some operations such as cutting out parts where tubes, beams and stairs are. I then see that the plate is no longer linked to my walls. If I then double click on my slab and go to the outline, the slab is gone. It is also on a level that is completely wrong, but in a section it is good, but you can no longer edit it.It is very frustrating to draw the plate every time and then later in your drawing after x number of operations to further determine that the slab has disappeared for the umpteenth time. Is this a known problem and how can it be solved?

  12. Is there a label available with which I can number but can put a variable prefix before this number e.g. R0. (prefix) 1 (number so you can get R0.1, R1.1 thanks


  13. I would like to be able to rearrange the structure of the layers. Kind of in the same way as the classes. Make sure that you can group, expand and collapse layers in the layers window. That one has a kind of folder structure for building layers +00, +01 etc, in which you can place the corresponding layers and in this way shorten the long list of layers. Now I do it through filters, but I think it could be easier that way.



  14. Hallo Pat


    That was indeed my problem and by removing the cr I  get what I wanted to achieve. Learned something new again. I can also use Jbenghiat's tip in the future. Thanks for the quick reply.

  15. I am creating a plug-in where certain text should appear in an arrow, and in which I can adjust certain text elements via the info palette. Only I can't manage to get the text parts that I have to fill in one after the other via the info palette. Now everything is written under each other. someone an idea how to change my script please?


    This is my script


    Procedure Ventilatiepijl;



    eventMessage :







    BEGIN BEGIN h:=FSActLayer;

    ts:=PSize; PushAttrs;

    t1:=Pnummer; t2:=plengte;






    TextFace([]); TextSize(ts); TextFlip(0);

    TextRotate(0); TextSpace(0); TextJust(1);



    t123:=Concat('Invisivent Air Basic 62m3/u.lm,',t1,'=',Chr(13),'=',t2,Chr(13),'',t3,Chr(13));

    BeginText;  t123  EndText;

    begin; Poly (0,0, pl,0, pl,-8, pl+20,12, pl,32, pl,pb, 0,pb );


    PopAttrs; END;


    Run (Ventilatiepijl);

    Thanks for the help

  • Create New...