Jump to content

Bertf

Member
  • Posts

    85
  • Joined

  • Last visited

Posts posted by Bertf

  1. Hi all,

     

    When I draw a line on a 3D plane with line type set to dashed:

    59f19d6196212_2017-10-2610_29_49-VectorworksArchitect2017-1200_FEDE-001-001_vwx.png.5a1f316c225058761f9237d71c3ec0f5.png

     

    And I create a section viewport that shows this line (hidden line render mode), I get the following result:

     

    59f19d62037c0_2017-10-2610_30_07-VectorworksArchitect2017-1200_FEDE-001-001_vwx.png.e836c53fd8cf351779e18c5e25ff2fcf.png

     

    Anyone has an idea how to display this line as a dashed line in the section viewport?

     

    EDIT: Design and Sheet layer have the same scaling set (1:10)

     

     

    Thank you,

    Bert

  2. I think it would be nice to have a menu command that updates all the viewports on the selected sheet layer. Now we can only update all viewports (of the file), or update the selected viewports.

    When we update all viewports of the file, we need to wait longer. Specially when you have a lot of interiorcad cabinets in your drawings.

    And when we update selected viewports, we first have to select them all.

     

    Thank you,

    Bert

    • Like 3
  3. I needed this function in the past and made a little script for it. It works as follows:

    Double clicking the symbol opens this window:

    59d714a629e0d_2017-10-0607_26_38-VectorworksArchitect2017-1200_FEDE-001-001_vwx.png.1892a3bb4b5cf98933dcc80ddbe46ca0.png

     

    You can change the prefix to your liking. The number ("Nr") field is the start value of the counter. The "materiaal" field adds a material or some other subtext.

    So when you select the tool with these preferences and just start clicking, you'll get the following result: 

    59d714a670e05_2017-10-0607_26_59-VectorworksArchitect2017-1200_FEDE-001-001_vwx.png.45109677965bd48f4a4ab7d4e32c1dfa.png

    The script places normal text boxes which can be edited later on.

    You can also press delete at this stage to delete the placed labels and when you continue clicking, the counter continues. (for when you quickly need to start at a higher number)

    59d714a6be11d_2017-10-0607_27_31-VectorworksArchitect2017-1200_FEDE-001-001_vwx.png.170bd0d3c88f3f00c008c6de0b7510a8.png

    Or you can just change the startnumber in the settingsmenu:

    59d714a75ed7c_2017-10-0607_28_22-VectorworksArchitect2017-1200_FEDE-001-001_vwx.png.9a7f73c16debb54facec79ef347b1e93.png

    And get this result:

    59d714a7a111a_2017-10-0607_28_31-VectorworksArchitect2017-1200_FEDE-001-001_vwx.png.8f4635793333592cb26d7717c9738691.png

     

     

    This is the code:

    VAR
    x1,y1: REAL;
    Prefix: STRING;
    Nr: STRING;
    Material: STRING;
    Text: STRING;
    h: HANDLE;
    cmdHd: HANDLE;
    Length: INTEGER;
    PosEnter: INTEGER;
    BEGIN
    	Prefix:= PPrefix;
    	Nr:= PNr;
    	Material:= PMateriaal;
    	
    	WHILE (true) DO BEGIN
    		GetPt(x1,y1);
    		TextOrigin(x1+10, y1-10);
    		Text:= Concat(Prefix, Nr, Chr(13), Material);	
    	
    		Length := Len(Text);
    		PosEnter := Pos(Chr(13), Text);
    	
    		CreateText(Text);
    		h:= LNewObj;	
    		SetTextFont(h, 0, Length, GetFontID('Arial'));
    		SetTextSize(h, 0, PosEnter, 10);
    		SetTextStyle(h, 0, PosEnter, 1);		
    		SetTextSize(h, PosEnter, Length-PosEnter, 7);
    		SetZoom(GetZoom);
    		Nr:= Num2Str(0, Str2Num(Nr)+1);		
    	END;		
    END;
    Run(LabelVS);

     

    I've added the tool to the attachment. You can just drop it in your plug-ins folder and add it with the Workspace editor. (I think it will be in the Fplus folder)

     

     59d71c542cd4f_2017-10-0608_01_42-WorkspaceEditor.png.e858fa5f3d29ad158dcb2348013082e2.png

     

    Maybe Vectorworks will create a Pro tool, but I hope this helps in the meantime. :)

     

     

    Label VS.vst

    KastLabel.png

  4. Hi John,

     

    We've been using interiorcad classic for around 5 years now. Since 2014-2015 we've been using the Vectorwop module to create CNC-programs.

    The classic version indeed has some very frustrating limitations and bugs. We've worked around some of these bug with a python script that we've developed in-house that reads all the CNC files and cutting lists and automatically adjusts them according to the available information. But of course it's still very limited compared to the software of the competitors.

     

    Since late 2015 we've started testing the new cabinetmaker. The "engine" looks indeed very promising but the tools around them are still being developed.

    In the beginning of this year, with version 2017 F1 or F2, we thought it was operational and started some projects with it. But because of some bugs and undeveloped features at that moment, we immediately decided to return to the classic cabinetmaker.

     

    So indeed like what Woodychips says, the wait is really long. And they don't have a complete solution at the moment. The old one has lots of limitations and is sometimes buggy (but we know when to be careful). The new one seems very promising and the stuff that is already developed is great! But there are still some bugs/missing features which makes it unfit for operation for us.

     

    We have also tested Topsolid and watched demo's of others like Imos, CAD+t, Korpus, ...

    In our opinion Topsolid came out as best at that moment (spring 2016). It's way more complete and you can put everything in parameters and formulas. But it's not as easy to draw in as in Vectorworks. (our team exists out of architects and interior architect)

     

    So we do believe that once the new cabinetmaker will be finished it will have more advantages. It will be way more simple to use than topsolid. We haven't seen the easiness of placing hinges, connectors or drawers in any other program. Also the way you can create custom fittings looks wonderful. And I'm a big fan of the choice for Python as program language for vectorwop 3D! The amount of updates that happens also show the efforts they put in the development. They're already at F6 for this year. You can follow their development here: https://conf.extragroup.de:8443/#all-updates

     

  5. 9 hours ago, JimW said:

    Added already! 

    Screen Shot 2017-08-31 at 3.54.00 PM.png

     

     

    I think I explained myself not so well. We can indeed open library files from the resource folder (already in vw2017). But once they are opened, we can't switch the active file to another already opened file from within the resource browser.

    For example:

    I have 2 drawings opened (customer POOR and WILD). WILD is now the active file so I see the drawing of this customer in my main window. But when I right click on POOR I can only choose "Show in explorer" and "Add selected file to Favorites". I cannot make this file the active one.

     

    59a8f49eda617_2017-09-0107_47_57-ResourceManager.png.8bbdd70c74f9c980eea7193520be1a99.png

     

    So, the ability to switch the active file (which drawing is seen in the main window) from within the resource browser is a function I've missed a couple of times already in VW2017. :-)

     

  6. I'm having the following issues:

    • When I have for example 2 extrudes, on the same Z-plane:
      1a.png.482514f119a34d193ea162f6b807dbaf.png
      And I want to move them when I'm in the top view (or any not isometric/custom view) and layer plane is active:
      2.png.b8560dcfe7e0cba52f578815f38bd37d.png
      The result I want with this is that point A is on D and B is on C. But sometimes it brings A on C or B on D because I can't control which point to snap to from the top view. A great help would be you can't move the object "in/out your screen" when the view is in front/back, side or top/bottom. A bit like how screen plane works but without the need to switch to screen plane every time.
      3.png.3f8790492492536c2cd237051ac92a99.png
    • Then when I'm on screen plane and I want to move this same extrude in a custom view
      4.png.14b263a6ab86802b64b1645239d9bff6.png
      it get messed up and the object is on a random location (you see this when you rotate the camera a little bit):
      5.png.cf4c66463dacb5367f0c95a91f159fde.png


      So to wrap things up:
      The first issue can be prevented if the user first changes to screen plane, the second issue can be prevented if the user first changes back to layer plane. But the user (specially me) mostly forgets to switch and sees the problem too late and has to adjust afterwards.

      Imo: A great solution would be if the objects can't move in or out of your screen if you're looking from side, front, back, bottom or top and layer plane is active. And moving objects (that are not on the screen layer) in a custom 3d view with screen plane active doesn't end up like the example above.

      I actually only use screen plane to prevent the first issue above and when I want to quickly measure for example the vertical distance between 2 points that are not aligned along the same Z axis. If this can be integrated in layer plane/automatic. I don't need to switch any more. 🙂

     

    Kind regards,

    Bert

    • Like 1
  7. Hi,

     

    When I make a section viewport, the advanced settings are as follow by default:

    599704597364f_2017-08-1816_58_40-AdvancedSectionProperties.png.82b5f4f89bfb0fecf4251bb33d0b7c0a.png

     

    I always change it to:

     

    59970459d7953_2017-08-1816_58_55-AdvancedSectionProperties.png.660e8913a9e9333056b344ae6e8f0013.png

     

    In VW 2015 my last preferences were automatically saved, so when I made a new section viewport in the same file, I didn't need to change these settings.

     

    Now in VW 2017 I have to change the settings every time.

     

    Is there some setting I have to change in 2017 so it will remember my preferences?

     

    Thank you,

    Bert

     

  8. Hi,

     

    The problem I'm having recently is that when right clicking vectorworks in my windows taskbar it shows all the files created and imported in vectorworks. Even the published .pdf files.

     

    So when I need to reopen a file (and vectorworks is not opened yet), I want to right click the vw icon and select my file. But my recent file list is filled with 'junk' that can't be opened from this menu, for exampke (.skp, .pdf, .jpg, ...)

     

    Is there a way to filter this list for "*.vwx" files?

     

    Thank you,

    Bert

     

     

  9. Hi, JBenghiat.

    I've tried your suggestion and it works when I create a command but it doesn't when I create the same code in a tool. Any reason for that?

    Thank you (code below)

    import vs;
    
    def PickPointCallback(pt):
    vs.AlrtDialog( "Point {0}:{1}".format(pt[0],pt[1]) )
    
    vs.GetPt( PickPointCallback )

  10. Hi,

    I'm having troubles to get vs.GetPt() working.

    What I have is a plugin written in Python that places a textbox with text from the plugin parameters on the mouse last location. -> This works (code below)

    Although vs.GetMouse isn't so precisely because when moving the mouse fast after clicking, I receive another location. So I want to use the Getpt() function.

    Is there any way to get vs.GetPt() working? Or am I doing something wrong?

    p = vs.GetMouse()
    CabinetNr = getattr(vs, 'PKastNr')
    Material = getattr(vs, 'PMateriaal')
    Text = 'K'+ CabinetNr + chr(13) + Material
    Length = len(Text)
    PosEnter = Text.index(chr(13))
    
    #p = vs.GetPt() --> NOT WORKING HERE
    
    vs.TextOrigin(p)
    vs.CreateText(Text)
    h = vs.LNewObj()
    
    vs.SetTextFont(h, 0, Length, vs.GetFontID('Arial'))
    vs.SetTextSize(h, 0, PosEnter, 12)
    vs.SetTextSize(h, PosEnter, Length-PosEnter, 7)
    
    

    Thank you,

    Bert

  11. Hi,

    When using a function like vs.SetTextFont(objectHd, Start, Count, FontNum), I need an object handler (objectHd) that points to the textbox of which the function has to change the font.

    my code:

    h = vs.CreateText('Hello')
    vs.SetTextFont(h, 0, vs.GetTextLength(h), vs.GetFontID('Arial'))
    

    This gives the error: Handle to text object is not valid.

    What am I doing wrong? :confused:

    The output of createText is a Handle and the SetTextFont asks for a handler?

    Thank you!

    Bert

×
×
  • Create New...