Jump to content

twk

Member
  • Content Count

    465
  • Joined

  • Last visited

Community Reputation

95 Excellent

5 Followers

About twk

  • Rank
    Journeyman

Personal Information

  • Occupation
    Architectural Designer
  • Homepage
    www.cba-design.co.nz
  • Location
    Auckland, New Zealand

Recent Profile Visitors

1,677 profile views
  1. twk

    How many users per Licence?

    Ok, I see now. I am in the process of re-installing my VW2018 on my second PC. I had it on there since March 2018, PC crashed last October. I re-installed windows, and VW, and activated it with no hiccups. Now the new Windows 10 version 1809 update has caused problems and I cant roll back to my previous (just installed 2 weeks ago) windows install, so I have to reinstall the this Windows 10 version 1809 as a fresh install and not an upgrade. This is all on my 2nd PC. so hopefully the vectorworks servers pick it up. I will notify our local resellers if there's any issues. Thanks for the clarifications @Jim Wilson Cheers, Tui
  2. twk

    How many users per Licence?

    Ok this is super confusing; So if I understand correctly @Jim Wilson; Say I have 1 E-series license, and 3 PCs. - PC1 > I installed VW on the 2nd of Feb - PC2 > I installed VW on the 4th of April - PC3 > nothing installing After 90 days on either install, the licensing/activation is dropped from whichever PC; - PC1 = 3rd May; so 4th of May license is free - PC2 = 3rd July; so 4th of July license is free So when I install onto PC3 on the 4th of May; the licensing moves from PC1 to PC3? and now I have PC2 and PC3 available for use only? Freeing up PC1? Another question: When you say licenses are tied to a machine, if my PC crashed, and I need to reinstall windows (same machine); re-installing VW on this machine, does that count as using up 1 of the 2 seats? Or does the servers know, its coming from this previously activated machine?
  3. twk

    Script to toggle class + layer on and off

    theres something weird going on with the formatting, and my posts on this thread; It looks like their are hidden spaces being added between the s and ( in vs.GetCVis(CName)) ClassVisibility = vs.GetCVis(CName) if you copy in the code above, or type it in manually it should work. (Replace this line in the script, with your manually typed one, or the snippet above)
  4. Hi Nikolaus, Thanks for reminding me, have posted in the lumion forum requests, and an enhancement request here too (VE-99304 @Jim Wilson) I guess we can just keep knocking till the door opens ūüėÄ Cheers, Tui
  5. twk

    Script to toggle class + layer on and off

    Woah!. apologies, i had edited that post.. strange the edit didnt go through.. the currentLayer_name call is incorrect it should be this: # November 13, 2018 # Python converted from Patrick Stanford's script: # https://forum.vectorworks.net/index.php?/topic/59673-script-to-toggle-class-layer-on-and-off/&do=findComment&comment=297904 import vs LName = '1-Slab' CName = 'Structural-Slab' LayerHandle = vs.GetLayerByName(LName) LayerVisibility = vs.GetObjectVariableInt(LayerHandle, 153) ClassVisibility = vs.GetCVisÔĽŅ(CName) CurrentLayer_Name = vs.GetLName(vs.ActLayer())#Get Layer Name of current/active layer if any([LayerVisibility == 0, ClassVisibility == 0]): vs.Layer(LName) # Jump to/Set Active layer name in LName variable vs.HideLayer() vs.HideClass(CName) else: vs.Layer(LName) # Jump to/Set Active layer name in LName variable vs.ShowLayer() vs.ShowClass(CName) vs.Layer(CurrentLayer_Name) # Jump Back to/Set Active current layer name
  6. twk

    Script to toggle class + layer on and off

    Here it is in python: # November 13, 2018 # Python converted from Patrick Stanford's script: # https://forum.vectorworks.net/index.php?/topic/59673-script-to-toggle-class-layer-on-and-off/&do=findComment&comment=297904 import vs LName = '1-Slab' CName = 'Structural-Slab' LayerHandle = vs.GetLayerByName(LName) LayerVisibility = vs.GetObjectVariableInt(LayerHandle, 153) ClassVisibility = vs.GetCVis(CName) CurrentLayer_Name = vs.GetLayerByName(vs.ActLayer()) if any([LayerVisibility == 0, ClassVisibility == 0]): vs.Layer(LName) # Jump to/Set Active layer name in LName variable vs.HideLayer() vs.HideClass(CName) else: vs.Layer(LName) # Jump to/Set Active layer name in LName variable vs.ShowLayer() vs.ShowClass(CName) vs.Layer(CurrentLayer_Name) # Jump Back to/Set Active current layer name
  7. twk

    Script to toggle class + layer on and off

    Its to do with the SetObjectVariableInt(LHand, 153, -1); {Layer to invisible}; you're actually applying the change to the whole layer (LHand). What I've done in the past is to use the ShowLayer, HideLayer, GrayLayer calls. So your script would be instead: Begin {SetObjectVariableInt(LHand, 153, -1); {Layer to invisible}} Layer(GetLName(LHand)); {Jump to that particular layer} HideLayer; HideClass(CName); {Class to invisibile} End
  8. Here are some tests with the New Lumion 9, with the same project from my previous Lumion8 tests. Straight FBX export from Vectorworks, only retextured stone wall, and added grass. The new grass, really makes the images pop. And the speed. These rendered out 50secs each. Slower from the previous renders in L8, at 15secs. lol Another +1 request for Vectorworks to have live sync as Archicad has this feature!
  9. twk

    Marionette Hybrid

    The DevWiki is the go to place for all functions and also has an appendix for other 'selectors' DevWiki: http://developer.vectorworks.net/index.php/VS:Function_Reference Appendix: http://developer.vectorworks.net/index.php/VS:Function_Reference_Appendix SetPlanarRef function : http://developer.vectorworks.net/index.php/VS:SetPlanarRef Maybe @Jim Wilson, you could sticky the DevWiki link to the Customization Forum Sections?
  10. twk

    Model a bath in 3D as per image

    Good point! Looks better..
  11. twk

    Model a bath in 3D as per image

    Couldn't help having a go at this one! Similar to Kevin's approach. Initial loft was created from 3 nurbs curves, mapping levels of exterior bath (top, bottom, bottom of outlet) in provide PDF section. Scaled and adapted to fit. - from solid generated, shell solid was then generated, then chamfered relevant edges - second part was the base, reusing to nurbs curves from step 1, then using the push and pull tool to adjust the heights to match the section height of the base(did this as the push and pull can follow then slope of the solid using the second mode). - then subtracted internally, then joined to main bath ModelBath.vwx
  12. twk

    List All Classes in file

    Here you go: You need to turn on all your classes visibilities (obviously) import vs def classes_name_list(createOrder=0): """ createOrder=0, no sorting, list sorted based on class creation order createOrder=1, sorted Alphabetically """ classes_total = vs.ClassNum() classNameList = [] for x in range(classes_total): classNameList.append(vs.ClassList(x + 1)) if createOrder == 0: return classNameList elif createOrder == 1: classNameList.sort(key=lambda x: x.lower()) return classNameList layer_scale = vs.GetLScale(vs.ActLayer()) #page mm scale 1:1 square_dim = 5 * layer_scale spacing = 7 * layer_scale groups = [] for clasN in classes_name_list(1): vs.BeginGroup() vs.Rect((-square_dim,square_dim/2),(0,-square_dim/2)) RECT = vs.LNewObj() vs.SetClass(RECT,clasN) vs.CreateText("{}".format(clasN)) TEXT = vs.LNewObj() # set text vertical align and horizontal align = center, left vs.SetTextVerticalAlign(TEXT,3) vs.SetTextJust(TEXT, 1) vs.HMove(TEXT,spacing,0) # move text in place on right of rectangle vs.EndGroup() groups.append(vs.LNewObj()) for i, group in enumerate(groups): if i != 0: prev_group = groups[i - 1] prev_group_bbox = vs.GetBBox(prev_group) group_bbox = vs.GetBBox(group) vs.HMove(group,0,(prev_group_bbox[1][1])-spacing) Cheers
  13. Here comes another awesome release!
  14. twk

    Updating Node

    hmm this only seems to work for me if I put the py file in a root directory; C:\, D:\, L:\; etc #COMMAND;REFFILE;D:\stair_elevation_maker.py; once i put it in a folder it doesnt work: #COMMAND;REFFILE;D:\test_branch\stair_elevation_maker.py; error pops up saying: - the referenced file not found The specified file was found but could not be written to. Click Ok and made the file writable to save your changee If you choose Cancel you scipt will be saved locally in the node but these changes maybe lost when the scipt editor is opened next time any thoughts on fixes?
  15. Nice rocks! Is that with the paint objects on surface feature? I wish lumion had this.. and VW too

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

√ó