Jump to content

FranAJA

Member
  • Posts

    59
  • Joined

  • Last visited

Reputation

10 Good

Personal Information

  • Location
    United Kingdom

Recent Profile Visitors

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

  1. When things appear in one drawing but not in another, the first thing I think are off classes, not only the main one but even the nested.
  2. Doors are pretty easy to do with glazed leaf and georgian bars, the glazing at the top probably I would do it as 3d model/ autohybrid.
  3. import vs ws = vs.GetObject('Worksheet-1') CellValue = int(vs.GetWSCellValue(ws,1,1)) vs.Message(CellValue) #vs.SetWSCurrentCell(ws,2,6) formula = "="+"'Title Block Issue Data-"+ str(CellValue) + "'.'Current Revision'" vs.SetWSCellFormula(ws,6,2,6,2,formula) Edit: I solved using the script above. (getwscell) However still trying to run the script inside the worksheet, my script is in the resource managere but i would like to run the script automatically when i recacultate the ws.
  4. I was trying by script: import vs #Get the ws ws = vs.GetObject('Worksheet-1') #Get the cell value (return None i do not know why, it should return 1 as A1 cell CellValue = vs.GetCellNum(1,1) vs.Message(CellValue) #vs.SetWSCurrentCell(ws,2,6) formula = "="+"'Title Block Issue Data-"+ str(CellValue) + "'.'Current Revision'" vs.SetWSCellFormula(ws,6,2,6,2,formula) I have just tried to write this script and it works, just that does not get the value "1" of the cell probably i am using the wrong command. I am struggling also to use this: I would like to use the Script-1 (that one above) in the resource manager but VW crashes or i am not doing correctly.
  5. I was hoping in you Pat. calling then the script by the command =RUNSCRIPT ? I never used this thing do you have a very simple example ?
  6. I am trying to make the drawing issue sheet a bit parametric avoiding that one created automatically from vw which are not customizable for our office needs. Cell E29 has value 1, E30 = 2 E31 = 3 Title Block Issue Data-1, Data-2, Data-3 , (basically 3 issues). I am tring to make the number associated to the cell above. =CONCAT('Title Block Issue Data-'; E30; '.'; 'Current Revision') doing ''Title Block Issue Data-'', so with two ' , does not really work. i do not understand how to implement a cell value inside the string of the record call. the character : ' is used both for string and for worksheet record command. Could someone help me please ? Is there any way to fix this ?
  7. Very little thing but useful. Can the text in the error script panel be selected and copied ?
  8. I strongly suggest to style the windows, but this is my personal workflow. So you can sort them by style. In the graphic legend The criteria, looks ok: (NOTINREFDLVP & (NOTINDLVP & (INVIEWPORT & (INCLSUBX))) & ((PON='Window') & ('Window'.'OnSchedule'=TRUE))) So it looking for all the windows in the project with the parameter ON Schedule set to true. Which is fine, the result include 25 instances. I did not want to count one by one so i just ran a quick selection: And the windows objects are 25 as per graphic legend. I count 25 objects in your graphic legend. The first column looks have several instances of the same window. It is actually showing the unique ones because they are different each other in terms of lenght width. We should understand which kind of filtering you would like to use to understand in which way you can omit some. Do you want to show them by type of window even if the dimensions change (so you need style) or by dimension ? If you click in here you can report them by different parameter selecting "window"
  9. It would be nice having additional criteria operator to allow a better filtering: "Or" for example Layer or "design_layer1" Layer or "design layer2" So it will look just on these two design layers, or just one in case. Sometimes we need to filter more design layer, (making both "is" does not retrieve any object". (i can not put 100 design layers with "is not" to filter just two layers" "And" Layer and "design_layer1", If true Layer and "design layer2", If true it will look in both always "Contains" for example Class contains "SE-" So it will look to all the classes name which contain "SE-" If you have other to suggest are really appreciated..
  10. It is extremely hard to use as well, not just for you... Hope VW will rewrite soon this function because at the moment such a extremely useful tool is impossible to use it properly
  11. quick fix (but not really nice) : create one design layer with just the windows or doors you want to show (one instance for type) and select that layer as filter. otherwise we should see better how you are filtering stuff in the criteria panel.
  12. I opened the file i did not do anything but it does not work anyway. I think there is a bug on the Ungroup ifs part (which can be easily obtained with an ungroup node after the symbol to group node): I corrected the script removing the ungroup part and testing is working.. @Marionette.NodeDefinition class Params(metaclass=Marionette.OrderedClass): # APPEARANCE # Name this = Marionette.Node('Symbol to Group') this.SetDescription('Converts referenced symbol to group using the specified conversion options.') # Input Ports Symbol = Marionette.PortIn(vs.Handle(0), 'hSymbol') Symbol.SetDescription('Marionette Node') # OIP Input op = Marionette.OIPControl('Options', Marionette.WidgetType.Popup, 0, ["Don't convert subobjects", "Convert plug-in and symbol subobjects", "Convert all subobjects"]) # Output Ports group = Marionette.PortOut('hGroup') group.SetDescription('Group') # BEHAVIOR this.SetLinksObjects() def RunNode(self): # inputs option = self.Params.op.value Symbol_h = self.Params.Symbol.value #correct script node_copy = vs.CreateDuplicateObject(Symbol_h, vs.GetParent(Symbol_h)) h = vs.PrevObj(node_copy) # { store "h" as placeholder } vs.SymbolToGroup(node_copy, option) group = vs.NextObj(h) output =[] output.append(group) # outputs self.Params.group.value = output
    I need to convert a symbol to a group for a script I am doing, this node was perfect for what i need to do but it looks like it does not work in 2024 version.
  13. Usually I do not use story. I draw slab on the inner face of the external wall, then i move the edges of each component with Edge Offset. Accordingly, I move top and bottom bound of the wall components. For walls: For slabs: If you like something more parametric you can choose innerface, core, outer face of the wall :
  14. It will be awesome having a tool to create Pipes in 3d with transitions, elbows.. etc
×
×
  • Create New...