Jump to content

Samuel Derenboim

  • Posts

  • Joined

  • Last visited

Posts posted by Samuel Derenboim

  1. @Pat Stanford

    Please don't laugh, I made a rough outline of the procedure for the franken-script. Can you please tell me if i'm off, how far i am off, and should i even bother? ūüėā



    Procedure SetObjectID;


     IDhand: Handle;
     X1,Y1, X2,Y2: Real;
     IDcount: Integer;
     B1,B2: Boolean;


    Procedure GetIDcount(idhand:handle)

    Begin {ID Count Procedure}
    1 delete all object id's with (this record,this field) {this resets all id's for the Record/ID so that procedure below can begin}

    2 pick object closest to origin, set (this field, this record) closest to 0 @ X, Y, or Z in model space
    or object closest to origin x,y on screen


    3 Set (Record, ID) to 1 from picked object

    4 {if any objects that have id = 1 while all others do not have any information inside } then setrfield for all objects from handle IDcount with IDcount being equal to IDcount+1 (or other count formula)

    The conditions were extrapolated from another script that you wrote shown in the above comment ūüôā

        While B2 = False do
                TrackObjectN(0, CallBack, H1, X1,Y1);
                If H1 <> Nil then
                Else    B2:=True;
    Begin  {conditions for all objects to be revised}

     ForEachObject(GetIDCount, ((R IN ['Record'])) )




  2. Hi Pat, thank you for your response!

    When objects are added, what would one do to auto re calculate the incrementing value? Would it be done in the sheetlayer viewport? or would it be done in the worksheet? specifically if one was to do it by 'criteria'


    I also noticed a script your wrote in a different thread (sorry in advance ūüôā )

    Question is :

    1. What parameter should i choose to change a field in a record rather than the name of the object (i see only SetName)

    2. What is Hd1? is this a rectangle reference?

    3. Does the application quit if and only if the object doesn't have a number?

    4. For some reason when running this script I still don't get a popup or dialog asking to enter the name of the object


    Procedure PickAndName;

    Var    H1:    Handle;
        X1,Y1,Z1, X2,Y2: Real;
        N1: Integer;
        B1, B2: Boolean;
    Function CallBack(Hd1:Handle):Boolean;
            If GetType(Hd1)=3 then CallBack:=True;
        While B2 = False do
                TrackObjectN(0, CallBack, H1, X1,Y1,Z1);
                If H1 <> Nil then
                        If Command then N1:=IntDialog('Enter Number for this Object.', Num2Str(0,N1));
                Else    B2:=True;




  3. I don't know if the title was understandable enough, however, here i will try to describe what I am looking to do

    In the case below I have polygons / rectangles that have a record, story, and object type. Essentially they need a unique id / number in order for a plan examiner to cross reference that id with the table below.


    1. Create a worksheet script that changes ID count (as shown below) based on a few parameters and changes a field called ID in a record.

    (if that is possible). I know it would either be a record callout or a script callout, so i'm not really sure how to do this.


    2. Technically the record count can be done without a worksheet now that i am thinking about it because of the unique parameters of each object, story, and count would be able to cover all objects.

    Note : the reason the ID is a separate field is because it used for the purposes of a datatag showing graphically what object that is (2nd image below)


    3. The reason for this request is because using the data-tag count system does not work - it counts all tags not only in the sheet layers but also in the view ports. (unless there is a work around I am not aware of?)





  4. As the post suggests - this bug has a huge implication on construction documents that use worksheets in design layer viewports. Worksheets resize automatically when referenced in a design layer viewport, cropping them makes them disappear.


    Beware of transitioning to VW2022!!! This is by far the worst update in the last 4 years that i've experienced unfortunately, and its implications have been disastrously far reaching. A bug has already been submitted, but i am disappointed that it wasn't addressed in the latest service pack. I will try recreating a new file to see if there is something wrong with the file itself because it was originally upgraded from 2021. But this is pretty bad!





    Update 1 - Upon placing in sheet layer viewport - worksheet keeps disapearing. Is this a worksheet issue? or a rendering issue?





  5. There are many occasions when a worksheet needs to be resized to fit the viewport, but it cannot when it is fully expanded. Instead of creating a separate design layer and reference worksheets within the viewport, I wanted ask for a new feature - the ability to crop worksheets like images. This would be extremely helpful in resizing and reproducing similar information with copies of the worksheet in cropped formats. Their reference remains the same, but the ability to display selective information would be extremely useful.

    • Like 3
  6. Hi All,


    I'm rendering a worksheet referenced in a viewport located on a sheetlayer. When printing pdf, it updates the contents and successfully shows the contents of the viewport when exported, however, in realtime, it does not show the worksheet. Also, VW has a tendency to resize the worksheet as well. It requires a copy and paste - to retain the same size in the design layer viewport.


    Viewport Referencing design layer.




    Sheet Layer




  7. They mentioned on the mac it had disappeared. I'm guessing this is an OpenGl bug - where opengl is still predominant on the windows platform (i presume). It's better than in 2021, so at least that is a good thing. Additionally, 2022 is much speedier in terms of rendering linework than 2021 which is a huge advantage. So i give them the benefit of the doubt, just wanted to give the tech's at the forum the heads up!

    • Like 1
  8. image.thumb.png.7db695542cdca43c8e9ab4641d3a31ec.png


    The last two columns are calculating incorrectly


    Column Z = P / O

    Column AA = T / S


    Table cell calculations for

    P = =IF((('!CDA-EnergyTabular'.'Solid/Glass')='solid'), '!CDA-EnergyTabular'.'U_prop'*AREA, '')

    O = =IF((('!CDA-EnergyTabular'.'Solid/Glass')='solid'), '!CDA-EnergyTabular'.'U_req'*AREA, '')

    T = ='!CDA-EnergyTabular'.'U_prop'*AREA

    S = ='!CDA-EnergyTabular'.'U_req'*AREA


    Is there something going on here that I'm not aware of?

  9. I don't use them that often either, but after making the geometry, i generally get rid of the marrionette from the viewport, and save it as a group symbol in the resource browser should i need it again. If i need to change the barrel roof once more, i would again drag the marionnette into the viewport, verify the barrel roof name and referenced wall type and redo the geometry. I believe there is an option in there that can retain the nurbs surface while regenerating the barrel vault roof.


    When i do anything that is out of the ordinary, i also have massing models on another layer in case i need to take the surface geometry from it once more. I also keep design variations on other layers as well, for various options.


    In terms of nurbs surfaces there are several ways you can go about it. Either you create a complex shape from two nurbs curbs via the loft surface tool, or (this is generally easier for me to do) create a series of operations on various extrusions. I.E. The original barrel vault roof could be an extrusion, then a series of cuts via the split tool, and lastly, when i get the blocked version result of what i am looking for, I extract the top most surface that I would like to use for the barrel vault. Depending on the settings you use, you can turn the shape directly into a nurbs surface, and then just simply add the surfaces to each other if need be (if they are not combined). Then copy the nurbs surface to the layer you need, name it accordingly and then use the tool for that surface.


    Hope it helps!!


    Here's an example:




    Primitive version




    Built out option




    • Like 1
  10. Try this. You might need to create a custom wall type for the barrel roof you wanted, however, this tool is pretty awesome. It will do exactly what you want, with materials, shape and even creates an autohybrid object.



    • Like 1
  11. The middle monitor (currently shown as black) is the vw screen after updating viewports from the viewport pallet. Also, the view port is also unresponsive during the update (which i think is contrary to the new update is). Please note, the file i am working on is a converted 2021 file, if that matters. I also updated multiple viewports at once. Is there a limitation for the number of simultanious updates in order for VW to operate while rendering?


    Thank you in advance!!



  12. Only one way I know of, use hardscape tool with the associated elevation benchmarks per face for the barrel vault. It would be an assigned slab however, not roof...which means you might need a separate record for u values.

  13. Hi everyone, recently did an upgrade to my workstation.


    Ryzen 3950x @ 4.3 ghz (overclocked), 128 gb ram @ 3600 mhz (timing 16), Nvidia rtx 3070


    Overall the performance boost for program performance is great, however, when tagging objects in elevation on complex bim models - it still slows down a great deal. Not much a performance boost, and it unfortunately is quite irritating waiting 10 seconds to tag a single object. Tagging all objects ends up tagging every object with the same record @ different orientations and elements beyond the facade, etc...


    My question - has anyone figured out a way to speed up the process of tagging objects in elevations/sections without massive speed bumbs? As it seems, hardware did very little to improve this performance. Perhaps my settings are off? or workflow is different?


    **Update - This is mostly occurring on curtainwalls and wall tags on elevations. Windows and doors are attached fairly quickly. Perhaps the amount of similar type objects slows it down?


    Thanks in advance!

    • Like 1
  14. This answer took me 6 months to figure out. Use the hardscape tool and modify the elevations of the edges to the required slope. Use the 3d aligned slab mode and use modifiers for the elevations (via the stake tool). Make sure to uncheck the option - interpolate surface, otherwise the geometry will go crazy.



    • Like 1
  15. This answer took me 6 months to figure out. Use the hardscape tool and modify the elevations of the edges to the required slope. Use the 3d aligned slab mode and use modifiers for the elevations (via the stake tool). Make sure to uncheck the option - interpolate surface, otherwise the geometry will go crazy.

  16. Wow! Thank you!

    Here is a sample GA assembly system catalogue detail



    Also attached is a sample excel spreadsheet to input the information in the appropriate fields of the components.


    There are two ways of going about it, using a concat command to summarize description of all components for the description, Wall style name, Wall Type Mark, etc..., or to have manually configured ones. Which ever is easier to build.

    Fire Resistant Assemblies.xls


  17. Are there any nodes, marionettes or other types of features inside of VW in order to parametrically create wall types from an excel spreadsheet? I.E. you have a series of fields for material thicknesses, descriptions, UL ratings, Marks, etc... that can parametric ally created the wall with all of those elements filled in? Keeping a UL wall type / floor type / Door / Window library I think is becoming very important, and since there are many proprietary as well as generic wall types to choose from based on STC Ratings, UL Ratings, Height limitations, etc... I think it is necessary to create a tools that can easily solve the problem of these libraries parametrically.


    I know it's longwinded, but, again if it makes sense - > excel - > marionette or script -> Wall style / FloorStyles / Window Style / Door Style

  • Create New...