Jump to content

Samuel Derenboim

Member
  • Posts

    404
  • 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;

     

     Var
     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 ūüôā

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

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

     END;

     

    Run(SetObjectID)

  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;
        Begin
            If GetType(Hd1)=3 then CallBack:=True;
        End;
        
    Begin
        N1:=1;
        B2:=False;
        While B2 = False do
            Begin
                TrackObjectN(0, CallBack, H1, X1,Y1,Z1);
                If H1 <> Nil then
                    Begin
                        If Command then N1:=IntDialog('Enter Number for this Object.', Num2Str(0,N1));
                        SetName(H1,Num2Str(0,N1));
                        N1:=N1+1;
                    End
                Else    B2:=True;
            End;
    End;

    Run(PickAndName);

     

     

  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?)

     

    image.thumb.png.1c61c3623a4f6dc839be3b2f44b98f5f.png

     

    image.png.dd8ed1615c1bc2d76d80a62b53450aa3.png

  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!

     

    image.thumb.png.37c6349d3a23f0982ce792581a9f967b.png

     

    image.thumb.png.567e0ebb63b2b9c94a566316976e76ac.png

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

     

    image.thumb.png.ac5a70869f5e7d23f0cd89cc32992ab6.png

     

     

  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.

     

    image.thumb.png.3854f09c540f0365f7ffdd356505de07.png

     

    Sheet Layer

    image.png.9dd4c9abb0bddaf8c4eec8f0b56eda21.png

     

     

  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:

     

    image.thumb.png.53aef80887bb768855976224832064fd.png

     

    Primitive version

     

    image.thumb.png.9d0fc97d13783c1137204b98afd93d8d.png

     

    Built out option

     

    image.thumb.png.574f667aa83f012346c9d3bd6ddb1c24.png

     

    • 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!!

     

    image.thumb.png.5492f2c42c6c759c39b6c08c96533aba.png

  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.

     

    image.thumb.png.341092d11c02fe0f756197cbd759e103.png

    • 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

    image.thumb.png.3417e2c51ade9c334543491b513a048a.png

     

    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...