Jump to content

Frank Schnater

Member
  • Posts

    22
  • Joined

  • Last visited

Posts posted by Frank Schnater

  1. Hello all,

     

    See script below: I wanted to use an old script; changed it a bit and found that 'redrawall' still does not work (ever since 1999!). Is that correct or is there something wrong with my script? The script switches 'Show Dim Value' on again; this works, but I have to force the lines to redraw 'manually'. (by cut/paste or save/re-open the file etc)

     

    Regards,

     

    Frank Schnater

     

     

    {© Frank Schnater, 13-05-1999, 24-07-2023}
    procedure maataanpasser;

    {deze procedure maakt bij maatlijnen van 70 de tekst zichtbaar}
    procedure wijzig_maatlijn(maatlijn:handle);
    VAR
    maat_tekst: STRING;

    begin
    maat_tekst:= GetDimText(maatlijn);
    if maat_tekst='70' then begin
        SetObjectVariableBoolean(maatlijn,6,TRUE);
    end;
    end;

    {main routine, laat procedure wijzig_maatlijn op alle maatlijnen los}
    begin
        ForEachObject(wijzig_maatlijn,(T=dimension)and(Sel=true));
        ReDrawAll;
    end;

    RUN(maataanpasser);

  2. Hello all,

     

    We have to produce a lot of ifc files with the same ifc options. Does anybody know how/if I can script the export options such as 'Project Data', Author Data' etc? I looked in the VS library procedures list and in the VS function reference but didn't find anything useful.

     

    Tia,

     

    Frank Schnater

     

    (See my question 'export or copy IFC project data')

  3. Ai, that is an unexpected shortcoming.

    I wouldn't expect a networking/automation oriented aspect as IFC handling lacking such a basic feature. Who has not worked on a project where say, the project name or client changes halfway? Maybe I can get a script to do this; maybe even applescript.

    Thanks for your reply anyway!

     

     

  4. Hello all,

     

    I am working on a project that consists of multiple files (housing blocks). We have to produce IFC models of these blocks and for each of these blocks the project data (author, project name, organization name, etc) is more or less the same.

    Does anybody know a way to copy this information from file to file? It is a pain to have to type this information in 10 tabbed windows for about 100 files...

     

    Tia,

    Frank Schnater

    • Like 1
  5. Dear all,

     

    With record formats it is possible to rename the format and/or the datafields and the used instances in the document will retain the attached information. Doing the same with a 'ifc property set' just deletes the old 'property set' and attaches the new one. Not nice.

     

    Am I overlooking something or is this correct: is it not possible to rename 'property sets' without loosing attached information?

     

    Regards,

    Frank Schnater

     

    (Vectorworks architect 2021)

  6. Hello all,

     

    I'd like to copy viewport settings (rendermodes, lighting settings etc) to other viewports in different files. The eyedropper tool does most of what I want within one file put I don't know how to get the eyedropper info into a script. It seems this should be easy; like using custom-tool/attribute to get the info to copy into a script...

    Tia,

     

    Frank Schnater

  7. Hello Matt,

     

    The VW2018 incompatability issue appears to be worse than we thought. When working with 2 or more drawings open frequently 1 becomes 'invisible' in 3d (OpenGL issue?). Restarting VW solves this. This is now happening about every half hour or so. This really needs to be solved. I reported this problem a year ago and we have been expecting it to be solved in VW2020. The past year we continued with VW2018, but now fixing is crucial as VW 2018 doesn't work properly anymore on our newer computers.

    Design Express told me this issue is scheduled for fixing in the 2021 version which would mean we have to restart VW every half hour for the next 12 months! Not acceptable.

     

    Regards,

     

    Frank Schnater

  8. Hello Matt,

     

    Thank you for the effort. I also got response from Design Express with more or less the same information.

    A serious disappointment: we have set up a lot of drawings in VW2017/2018 with this method so now we can not move away from VW2018. This means we miss out on improvements. We will also get more computer issues, as VW2018 seems not to be 100% compatible with OS X Catalina (standard install on our new workstations). I already noticed that when I open multiple VW2018 files at once some of the windows remain empty; I have to close the window and open it again to continue.

    This should not happen with professional software.

     

    Regards,

     

    Frank

  9. Hello Matt,

     

    Thanks for the tip; I didn't know these functions yet.

    Unfortunately the result is exactly the same. Or maybe I should say 'luckily' as it would even confuse me more if two methods that I would expect to do the same would give different results!

    I'm using a drawing that was set up in VW2018 as a test file (as we have drawings for 900 dwellings set up in VW2018 that we would like to keep using), but I'll set-up a test- file  in VW2020 to see if I get the same results tomorrow.

     

    Frank

  10. Hello David,

     

    Thank you for your reply.

    Strange.

    Attached 2 snippets of a drawing: one with a viewport (top-plan view) and the other with a section-viewport ('Display planar Objects', 'Display 2D Components' and 'Display 2D' Fills all 'on'). The '2591' dimension-lines are in Plane 'layer'. The missing arrowheads are an 'known bug' they told me. The doors are missing their swing because the section-viewport only displays the 3d porion of hybrid symbols (so I could solve this by adding a swing in the 3d portion of all symbols, but I'd rather have the option to display either the 2d or 3d portion, and I certainly don't like it that Nemetschek decides to change this behaviour from one version to the other. This is not a fatal problem though.). The difference in dimension appearance and dashed line appaearance: I don't know!

    The third screenshot is the same drawing with both viewports exported back to VW2018.

    Regards,

    Frank

     

    1492137026_viewportsvw2018.thumb.png.8f78a1cc85c5d85407dad6ed060999cb.png

     

    viewport.png

    section viewport.png

  11. Hello all,

     

    We are stille using VW 2018 because VW2019 did not render 2d items properly in section-viewports: text, arrowheads, dimensionlisne etc are not rendered. I  installed VW 2020 last week only to disciver that this 'known bug' is still not solved. Are we the only office that uses 2d items in sections viewport that we would like to see rendered?

    I discussed this at lenght with our distributor when e first encountered the problem in VW 2019 and they were expecting the problem to be solved in VW 2020.

    As we have 200+ drawings set us this way we wil have to stick with VW 2018 for another year. That is, if it will be solved in a next upgrade/update otherwise VW 2018 may be our last VW version...

     

    Regards,459186243_planVW2020.thumb.png.377a099ab39a9ee00c8fb5da349fad2c.png

    Frank Schnater

     

     

  12. Great explanation, which triggered me to make work of workgroups and custom markers.

    Which brings me to this question: I like to adapt a section-marker to my needs. So I created a custom section-marker in the file ‘Section Markers’ in my workgroup folder.
    Question: how do I move the position of the text? is this possible? Now the text is positioned at ‘0,0’, which means the section-line, which starts at 0,0, is always cutting through the text. I can put a white shape in my symbol to cover the first part of this line, but what I’d rather do is move the text to a different position, next to the marker instead of on top of it.

    Tia,

    Frank Schnater

    • Like 1
  13. hello all,

    for some time I'm trying to find out how the pdf procedures in vectorscript work:

    -AcquireExportPDFSettingsAndLocation

    -ClosePDFDocument

    -ExportPDFPages

    -OpenPDFDocument

    I tried some things, but nothing happens. The functionreference files are not very instructive.

    tia,

    Frank Schnater

  14. hallo all,

    I've been trying to find out how the pdf functions work ('AcquireExportPDFSettingsAndLocation', 'OpenPDFDocument' and 'ExportPDFPages'), as I want to export to pdf using vectorscript.

    I also asked the mailing list, but without luck so far. Could anybody shed some light on this?

    tia,

    Frank Schnater

  15. Did anybody notice thatdashed hidden line rendering is not working properly or is it just me: only some items are 'dashed', others (all my walls f.i.) are just rendered 'hidden lines',

    Any clues?

    tia,

    Frank Schnater

    (mac 8.6, VW8.5.1)

×
×
  • Create New...