Jump to content


  • Posts

  • Joined

  • Last visited

Posts posted by matteoluigi

  1. sure, in Germany we all have quertz keyboards, there are also keys with strange dots on vocals O_o (they look like Ä,Ö,Ü) , and, we are all driving on the right side of the street here and we are using dimensions in a so called "metrical system". The quarter pounder with cheese for example here is named "royal ts" and, wait, we still use latin letters and arabian numbers, but, why does this matter? 😉 


    And why does Ctrl-Z work on windows and Command-Y works on Mac? 😄 however, now I know more

  2. finally have been able to resume my work on python, never thought it would be that different between vectorscript and python. The code from above doesn't return me any syntax errors, however, it doesn't still work


    I actually try to calculcate the area of all objects with the same criteria, (like I already have been able to do in Vectorscript)


    I tried it your way, then I tried it the other way you suggested me last time in vectorscript. 

    Concatenating strings works fine in python, with + signs and with vs.Concat. However the area-function doesn't return me the area of all objects with the wanted criteria.


    So I integrated the AlrtDialog in the end of the script, just to see what really is happening inside the script, and, every concatenation looks really good. However, the area is always empty. I also wrote # in front of the area function, just to see, if there was another problem. From that moment the HAREA variable was always = 1234. (because I set it = 1234 in the 5th line)


    Somehow I want to port my script to python, too

    1) because I am learning both, python and vectorscript

    2) because i think that python in long terms is the better choice...


    thanks for your great help to my last questions!


    (unfortunately tabs don't work as I want them to work in the forum-quote)


    BR = vs.Chr(10);
    kQC = vs.Chr(39);
    for HNR in range (10):

        HNRS = (vs.Concat(HNR))
    #    HNRS = vs.Num2Str(HNR, 0)    
        HQUERY = (vs.Concat('(',kQC,'datenbank', kQC,'.', kQC,'Haus', kQC,'=',HNRS,')'))
    #    critSTRING = vs.Concat('((', kQC,'Wohnung', kQC,'.', kQC,'Haus-Nr', kQC,'=', kQC, HNR, kQC,') & (', kQC,'Wohnung', kQC,'.', kQC,'Whg-Nr', kQC,'=', kQC, WHGNR, kQC,'))');

        HAREA = vs.Area(HQUERY)
    #    ZANZAHL = vs.Count("('datenbank'.'Haus'='"+HNR+"')")
        vs.AlrtDialog(vs.Concat('Haus-Nr ',HNRS,' hat ', HAREA,' m²',BR,'Abfrage: ', HQUERY))




  3. 6 hours ago, JMR said:

    haven't found an automatic way

    there must be some way to integrate a dummy object in every door or door leaf, which is lying in one space, only. Like chipping your door to be able to locate it :D, although thought about vectorscript, but, I still don't know how to verify in which direction and in which space object the door is opening to 😞 

  4. 2 minutes ago, _c_ said:

    You can fliter your data visualization by

    maybe THAT'S the problem. I cannot save a set of Data-Visualization, Layer-visibilities as a set. That's one big advantage of Archicad, actually. There's really a lot of stringency in that system.

    First tab - the drawings, second tab - all saved views which contain sets of layer visibilities, filters, there also exists an own "reconstruction" filter renovation-projects, and, the third tab are layouts. 

  5. On 11/7/2020 at 4:11 PM, JMR said:

    One has to pay careful attention to elevations

    sure. That makes sense, definitely. However we had problems with a 2020 file although all elevations were "right" (in order that all objects were in the right layer and all level-layer-heights were configured right)...


    after we fixed the space elevations, everything worked fine. Thank you!


    But, another thing, how do you manage the door location? @JMR in fact a door theorically is situated in 2 rooms, although it opens just in one room. Is it possible to show only the room "in which the door does open to"?

    • Like 1
  6. Hi,


    i actually retried the function "GetSpaceNumForObj" with simple rectangles. Unfortunately in 2020 it returns me the spaces in the same layer as the listed objects and the spaces in the layer under the object layer. In 2021 it returns me all spaces which are lying under the dressed object.

    Is that a bug or works as designed? I mean, theoretically "GetSpaceNumForObj" could be a great function for addressing furniture in interior designs, for knowing in which room doors are opening to,... but that way it doesn't work.


    Thank you.

    Bildschirmfoto 2020-11-06 um 16.46.53.png

    Bildschirmfoto 2020-11-06 um 16.46.58.png

    Raumname von Obj.zip

  7. 13 hours ago, JuanP said:

    1. Do you mean “Project Directory”? The Projects Directory is the folder from where your server-based projects are served. The Projects Directory can contain all your BIM or CAD files - Project Files, Working Files, PDFs, VWX files, etc. It can also include your files from previous versions of Vectorworks. I am sure you have a well-defined structure for their files (e.g., /DATA/Drawings/...). It would be best to think about where your Project Files will likely reside within your project structure and use the most common folder. Your Project Directory can be “/DATA” or “/DATA/Drawings/Current” if you only wanted to be more specific. 

    We use a whole network drive, just for our projects. You can find all (more or less) active projects in that folder, for every folder there are subfolders with a whole lot of various data for the projects.



    13 hours ago, JuanP said:

    2. Yes, it is possible if you know how daemons work, but we do not recommend it. Why are you looking for this solution?

    not really neccessary. Just an idea. I made a little linux experience (Debian, ubuntu) but it's a few years ago.


    13 hours ago, JuanP said:

    3. We recommended one psserverd per machine. The psserverd is light-weight. It can handle thousands (if not millions) of requests per second. If you are running the psserverd within your local network, I do not see a need for load-balancing.

    One server per machine should be ok. If the server really can handle that much requests, well, then it should be fine.


    13 hours ago, JuanP said:

    4. The psserverd can handle hundreds of projects at the same time. Do you have BIM or CAD files across multiple machines? Your goal should be installing one psserverd on the machine (or NAS device) where your files are stored.

    Sounds great! I remember testing PS in 2015 and it was really slow ;-D


    13 hours ago, JuanP said:

    5. Your colleague will use the File -> Open Server-based Project File menu command. 



    13 hours ago, JuanP said:

    6. We are always looking to improve our solutions. Could you please share the current roadblocks or limitations you have with our existing solutions?

    I'll keep that ideas in mind. Actually we don't really need a system which connects more servers in different locations. I will also be happy without a kind of "bim server" like in Archicad. However a slim web-interface for controlling the server-status could be an interesting idea.



    13 hours ago, JuanP said:

    thank you for your questions:

    Thanks a lot for your really detailed answer!

  8. Joshua Benghiat already told me, that record-format-criteria with variables can be finicky. However, I now wanted to switch my script to python.


    Can anyone tell me why "ZANZAHL = vs.Count("('Wohnung'.'Haus-Nr'=Variable)");" doesn't work, or beter, what can I do for make it working?

    Sure, the whole Syntax inbetween the quotation marks is a string, so, the variable gets lost.

    Maybe I really have to concatenate the criteria to make them working, do I really have to? Sounds quite strange to me. Looking for record format criteria with variables sounds to me quite normal.

  9. Hi,

    worksheets in Vectorworks are a great tool for controlling, checking and evaluating the content of a drawing/file. As shown in the example drawing, we want to edit also wall-criteria directly from a worksheet. Unfortunately, walls aren't "linked" to a visible record format and ifc-data are not editable from a worksheet.

    Is there any other option (except of attaching an own record format to all walls and linking the record format data via ifc-datamanager into the ifc-data)?

    In this example file I want to edit "Pset_WallCommon.FireRating", "Pset_WallCommon.AcousticRating" and "IfcWallStandardCase.Name".





  • Create New...