Jump to content

denleyandr

Member
  • Posts

    2
  • Joined

  • Last visited

Reputation

2 Neutral

Personal Information

  • Occupation
    Architect
  • Location
    Germany

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi @Guillaume H, Sorry for the very late reply. In the procedures that I've seen, the U-Value of individual components wasn't available (For individual components, you can just write '=componentUValue(1)' in the list header, where 1 is the component number 1,2,3...in the wall build-up), but I also have very little Scripting experience. Someone like Mod Pat Stanford could have an idea. D.
  2. A great help @taavilooke Thanks for this! As a total Scripting beginner it would be helpful for us to separate the Wall component from the components thickness into individual columns. I thought that duplicating the script and adjusting the 'Get' info would make sense, but I#ve reached a roadblock in my already limited knowledge that prevents me getting further. Would you have a trick here? @Sky Change the Script Language from 'Vectorscript' to 'Python Script'. That should solve it (assuming you haven't already made that step) EDIT: sent too quickly. The solution was easier than I thought and is here in case people are interested. Component: wallObj = vs.WSScript_GetObject() (a, numComp) = vs.GetNumberOfComponents(wallObj) comps = [] for x in range(1, numComp+1): name = vs.GetComponentName(wallObj, x) (a, thickness) = vs.GetComponentWidth(wallObj, x) comp = name + " " comps.append(comp) str = "\r".join(comps) vs.WSScript_SetResStr(str) Thickness: wallObj = vs.WSScript_GetObject() (a, numComp) = vs.GetNumberOfComponents(wallObj) comps = [] for x in range(1, numComp+1): name = vs.GetComponentName(wallObj, x) (a, thickness) = vs.GetComponentWidth(wallObj, x) comp = " " + str(thickness) comps.append(comp) str = "\r".join(comps) vs.WSScript_SetResStr(str)
×
×
  • Create New...