Jump to content

Samuel Derenboim

Member
  • Posts

    472
  • Joined

  • Last visited

Everything posted by Samuel Derenboim

  1. @fuberatorTags have taken over this function, and i must say in a brilliant way as well. If there needs to be a calculation that is 'recorded' onto another record, do the math inside of a tag and use link data to source. Pick the record you want the number to be recorded to and vwala - you can have an auto updating function. I came across this when i needed to dynamically change the occupancy, fixture requirements or other code related formulas to show both on plan and on a referenced worksheet dynamically. if you don't need it shown on a worksheet - easiest way is still to multiply one record with another like Pat mentioned.
  2. Use the hardscape tool with custom elevations. The sky is the limit using that tool.
  3. @ThreeDot, fyi, if you want to upvote use the up arrow above the post where it shows the name of the post (see image below)
  4. Hi again. I've been curious as to how the Mtextur plugin works (in the import menu). Currently it is not working for VW2024, however, im sure it will be fixed. In the meantime, While the Mtextur plugin only works with textures, is it possible to do the same with any other VW objects from a remote website? namely materials, symbols, and other objects? I've recently discovered the ShowwebDLg script command....and am very interested in taking advantage of it. However, whenever I access a website, I cannot download any files into VW (naturally). What would need to be done in order to do so? Note: i've noticed mtextur uses zipped files with text files for potential database fields. Can this be implimented so that a texture can be imported as a material with fields extracted from the text file? that would certainly be awesome
  5. Hi VW Team and Community, Thought I'd share an idea (or wish i've had for quite some time) Below are a few screenshots of what that dream might be. Simple, but probably complicated too. The idea is to integrate plugin object properties into the resource manager. Editing properties for all Plugin objects would be so much easier and faster!!! Anyways, just a thought. Upvote if you agree i'm not the only one who thinks this way ;)
  6. @PatStanford, there is so much for me to learn from you, it's not even funny! The feeling is mutual my friend, believe me! Looks like i need to learn to script ASAP! Wonderful discovery!
  7. I know its a bit of an odd request, but I was curious, is it possible to count the same number of materials in a wall type using a tag? Lets say I have a wall type - 2 layers of gyp bd, framing and 2 layers of sheathing So far I have used the conditional statement : #MATPROPERTYBYNAME(COMPONENTMATERIAL(1), 'Materialkeynote')# line by line to describe each material. Is there a way to count the material in order to use 1 line to say 2 layers of gypsum board or etc...?
  8. You need to create a custom record. This isnt a wall or plugin object, its simply geometry. Once you make the custom record and fields, use the record format element in that drop down to call out the fields you need. It will be empty at first, so in the data info box you can enter it, or via the tag
  9. I did the same exact thing 2 years ago on a very complex project to calculate UA values for energy code requirements. Seems its the easiest method, and you can disconnect it from the master Bim file as well to create a separate set dedicated to a particular subfield
  10. The paint finish wouldn't have a thickness, it would be for elevation purposes, however, it could be tagged, so in plan view you can tag the geometry that has the appropriate paint color. In elevation, you can tag it as well, and depending on your viewport layers, it would render the paint with shaded options, or you can set a specific hatch if need be for the different types of paint. You would have to experiment with that. However, the tag information would be the most imporant as it would extract all the information necessary for your schedules, elevations and FF&E plans
  11. @E|FA Thank you ! Quick question, the toolset icons need two sets, the low res version and the @2x version. Would you happen to have the 2x version by any chance as well? Otherwise they cannot be applied
  12. Try to Create polys from a wall surface and use materials / textures and record information for the polygons. Id recommend doing it on an FF&E layer separate from an Architectural one
  13. @Luka Stefanovic Thank you for that. This includes worksheets I believe as well, right? (the inability to call out sub components of components)
  14. Did i just see that we can now create line drawings with clipcube? 😁
  15. In worksheets you can use =getspacenameforobj This will return all room names in the worksheets that your light fixture is located in. I used to do the same thing before i discovered these functions. Note - it will use your databade query to populate the space names. There are alot of functions in vw. If you want to learn more about more functions - go to the insert menu in the worksheet and click insert function...there will be a useful (looong) list of functions on how to use them
  16. So i have been browsing the VW function reference and noticed some interesting things https://developer.vectorworks.net/index.php/VS:AddSubMtrlToMtrl https://developer.vectorworks.net/index.php/VS:UpdateSubMtrlInMtrl there is a function to add, update and remove submaterials in a material. No functions (at least that i see) have the ability to get the name or the properties of the submaterials. What is, however, interesting is that these vectorscript functions have a handle called subMtrlName. I've used it as a function of objectdata, and have some interesting results. For reference I used this material in the library CMU 8x16 w/Mortar MT =OBJECTDATA(B3, subMtrlName, 1) - returns N/A for a compound object (based on material data sheet worksheet) =COMPONENTMATERIAL(B3, 1) = does not return anything - is blank =MATERIALPERCENT(T=MAT, 'Mortar MT') - returns 0 (Type=material i figured could have extracted something, but unfortuantely did not) =MATPROPERTYBYNAME(B3, submtrlName) - returned #PARMS? - which is interesting because submtrlName would become a handle that can actually be processed in the worksheets. @TomW Thought Id share in case you're experimenting
  17. @Tom W. You're right on the money. Essentially I am using the properties to create a parametric 'description' of materials, walls, slabs, etc... as well as volumetric, area and weight properties. For example - would it be possible to calculate the weight of a compound object? Theoretically you have the density of the compound objects and their respective thicknesses. When multiplied by the percentage of material the part makes up - i believe you can calculate the weight that way. Weight would be super terrific for load calculations for engineers. This in turn would help them design better and more effective structural systems that are more precise rather than the conservative values they may place per object. This can in turn save on steel. I know the differences would be negligible, but still, would be an effective decision making tool. (this is just one use case of extracting sub component materials) @Nikolay Zhelyazkov help please ! 😂
  18. Thank you. Is this possible on a worksheet instead then? (i know worksheet functions can be called out in tags as well so long you have the WS_ in front of the function. Maybe I can Tinker around with it if i know how to callout the subcomponent properties in a worksheet
  19. @Tom W. & @Nikolay Zhelyazkov Here is a bit of a tougher question -- is it possible to call out the sub materials of a composite material in a tag - and / or their respective properties? i.e. If you have 2 materials in a composite material - Metal studs and Batt insulation - and you want them to be call out like : Composite material name Sub material 1 - Submaterial Tag / Description / percentage of composite material Sub material 2 - Submaterial Tag / Description / percentage of composite material etc... Again, thank you in advance!!
  20. @Nikolay Zhelyazkov Pardon the delay, Wanted to ask how to get the name of the material via #WS_MATPROPERTYBYNAME(COMPONENTMATERIAL(2), 'materialmark')# I've tried #WS_MATPROPERTYBYNAME(COMPONENTMATERIAL(2), 'material')# #WS_MATPROPERTYBYNAME(COMPONENTMATERIAL(2), 'materialname')# #WS_MATPROPERTYBYNAME(COMPONENTMATERIAL(2), 'name')# etc... cant seem to get it. Could you please assist?
  21. HI everyone, I've come across multiple marionette scripts that use rest api to retrieve json information. The caveat - they use python, that require additional libraries to use the GET function. my question - can vectorscript do something similar without additional libraries? I am looking to use an API to extract records from a remote web based json api. As it appears, vw script can open a web browser using the showwebdlg function. I was looking to see if I can pull records from json using vectorscript. Thank you in advance!! here is an example from @Marionette.NodeDefinition class Params(metaclass = Marionette.OrderedClass): #APPEARANCE #Name this = Marionette.Node( 'Pass' ) this.SetDescription( 'Do nothing node. It just passes the input to the output: y = x' ) #Input Ports x = Marionette.PortIn( [], 'item' ) x.SetDescription( "input" ) #OIP Controls #Output Ports y = Marionette.PortOut('item') y.SetDescription( "output" ) #BEHAVIOR #this.SetListAbsorb() def RunNode(self): import requests #script api_url = "https://jsonplaceholder.typicode.com/todos/1" response = requests.get(api_url) vs.Message(str(response.json())) x = 0 #outputs self.Params.y.value = x
  22. @shorter , quick question, is uniclassformat linked to a specification system in europe? Much akin to masterformat in america? The reason I ask is because omnivlass table 22 (or 23 ) is basically the copy of the masterformat system translated into BIM. Fun fact, all tables included were also originally created by csi including masterfomat
  23. @heikolistische Thank you ! Was hoping you could explain how can they be used? is it possible to transfer properties from a custom record to a material record? i.e. if an object has a material attached and has a custom record attached that I wanted to link to each other, could I use the nodes to transfer the information from the record to the material property?
×
×
  • Create New...