Jump to content

leisure

Member
  • Posts

    3
  • Joined

  • Last visited

Reputation

0 Neutral

Personal Information

  • Location
    Germany
  1. Hi, I created a class and put the object in it. The Boolean "assign" automatically is set to true. This is the way I created my class: vs.SetClFPat(layerName, 1) vs.SetClFillBack(layerName, colorcodes[ind]) vs.SetClUseGraphic(layerName,1) My object is created, but the color by class value is not set. How am I possible to get this to work? Found the solution. Just had to use vs.SetFillColorByClass(obj) after creating it.
  2. Hey thanks a lot Raymond, do you know if there was any option like that in VW 2019? I checked back with my office management and there is to no real possibility to upgrade to a newer version. Is there a way to find the "API" of the older versions like apidocs.co for Revit / Rhino / Navisworks? And is there a way to write custom DataTagInfos when a tag is placed like "Roomnumber"? vs.RectangleN ( origin[0], origin[1], direction[0], direction[1], width, height ) rec = vs.LNewObj() vs.GetObject('Test_2') hDataTag = vs.LNewObj() vs.DT_AssociateWithObj(hDataTag, rec) // Fill custom object parameters hDataTag.SetParameter("Roomnumber","101.01") Kind regards, Jannis
  3. Hi everyone 🙂 I am trying to write rectangles with an attached multistamp from an excel-roombook into vectorworks. My excel looks like this: It is my goal to create rectangles in the given size with an attached Multistamp-Object which works like this: Actually I did not find a way to place a MultiStamp at all. I only found a way to place a rectangle and tried to place a datastamp-object instead, but it doesn´t work 😞 import vs origin = [0, 0] direction = [0, 1] width = 5 height = 2 rec = vs.RectangleN ( origin[0], origin[1], direction[0], direction[1], width, height ) hDataTag = vs.GetObject('Test_2') vs.DT_AssociateWithObj(hDataTag, rec) Actually I get the following error. I am using Vectorworks 2019.
×
×
  • Create New...