Jump to content

twk

Member
  • Content Count

    483
  • Joined

  • Last visited

Community Reputation

114 Spectacular

4 Followers

About twk

  • Rank
    Journeyman

Personal Information

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

Recent Profile Visitors

1,803 profile views
  1. twk

    VW beginner is stuck

    After extruding a circle, you can user-adjust position of top or bottom end of cylinder by activating the "ReShape" Tool command. (highlighted tool in screenshot below)
  2. Wondering how 2019 does it with titleblock data being able to read TB info from another file? Could not find any related functions for opening one file in another file in the DevWiki or the SDK files.
  3. Greetings and happy new year all, I was wondering if there was anyway to access plugin data from a file other than the active one? Wanting to read in data from a plugin object that resides in another file. Cheers, Tui
  4. twk

    The Vectorworks Twitch

    This I can relate to.. on the other hand, surley Teamviewer sessions with Vectorworks Tech support would be much faster/cheaper/easier then bug submissions/phone calls/site visits? I should probably wishlist this..
  5. Is there a maximum number of layers you can map onto an IFC Story? See GIF below: I can't attach those last few layers to the IFC story. Also is there any way to export these settings? When we click save setting where does it get saved to?
  6. Here I created a custom object class: (tested and worked in VW2016) # save work before using def SetClassGroup_Contents(handle_to_group, className:str, descend=False): class CustomObject(): def __init__(self, handle): self.handle = handle self.__old_class = vs.GetClass(self.handle) @property def old_class(self): return self.__old_class @old_class.setter def old_class(self, value): self.__old_class = value @property def obj_class(self): return vs.GetClass(self.handle) @obj_class.setter def obj_class(self, value): vs.SetClass(self.handle, value) def restore_old_class(self): self.obj_class = self.old_class if vs.GetTypeN(handle_to_group) == 11: # Only work on groups TypeGroup == 11 if not descend: # if descend parameter set then cycle through each item in group, default is set to false stored_objects = [] #type: list[CustomObject] def set_class_objs_in_group(h): stored_objects.append(CustomObject(h)) vs.ForEachObjectInList(set_class_objs_in_group,0,1,vs.FInGroup(handle_to_group)) # See Documentation for parameter descriptions vs.SetClass(handle_to_group,className) # Set Class of overall group for object in stored_objects: object.restore_old_class() else: vs.SetClass(handle_to_group, className) # Set Class of overall group vs.ReDrawAll() # Sometimes my machine needs this to show updated attributes vs.ResetObject(handle_to_group) # Updates Object Info Pallette h = vs.FSActLayer() SetClassGroup_Contents(h,'NewClass1') # Use for apply to group only # SetClassGroup_Contents(h,'NEW CLASS', True) # Use for apply to group and contents
  7. Ok, reporting back, I dont have access to 2014/2015 anymore, but I have just tried in 2016 and it doesnt do what i thought it did. The class function gets set to both the group and the objects in it. Im stumped.
  8. twk

    Managing BCF Data for IFC-based Workflows

    until

    Missed this! Any chance for a recording for this please! Checked the service select portal theres nothing on there for this.
  9. To my understanding it has been fixed as of 2019
  10. Raymond you are correct. I have just tried in 2017. I will check another machine that has 2014/2015/2016 installed. I've used it before in plugin objects. I wonder what changed. BTW this works in 2018. Shall report back with findings..
  11. Not sure if I'm following these correctly, but are you trying to create a function that sets the class of a group together with its contents? here's a custom function I created prior to 2018, def SetClassGroup_Contents(handle_to_group, className:str, descend=False): if vs.GetTypeN(handle_to_group) == 11: # Only work on groups TypeGroup == 11 if descend: # if descend parameter set then cycle through each item in group, default is set to false def set_class_objs_in_group(h): vs.SetClass(h,className) vs.ForEachObjectInList(set_class_objs_in_group,0,1,vs.FInGroup(handle_to_group)) # See Documentation for parameter descriptions vs.SetClass(handle_to_group,className) # Set Class of overall group vs.ReDrawAll() # Sometimes my machine needs this to show updated attributes vs.ResetObject(handle_to_group) # Updates Object Info Pallette h = vs.FSActLayer() SetClassGroup_Contents(h,'NEW CLASS') # Use for apply to group only SetClassGroup_Contents(h,'NEW CLASS', True) # Use for apply to group and contents I guess you could then use this on ForEachObject call for all the groups you've found. criteria = "(T=GROUP)" def apply_class(h): classNew = "NEW CLASS" SetClassGroup_Contents(h,classNew,True) vs.ForEachObject(apply_class,criteria) Also, I've never come across call vs.Layer('Design Layer-1') creating another 'Design Layer-2' layer. This has never happened to me. I use the vs.Layer() call all the time, especially in Project Sharing files HTH, Tui
  12. This is a known issue, a bug report has been submitted already.
  13. What I do generally, Design Layers relating to House Plan, are all storey aware ie tied to a real world story level, for example: Story 1 RL = 54.5m - Roof Plan - Story 1 - Offset from Story = 2.45m - Floor Plan - Story 1 - Offset from Story = 0.0m - Foundation Plan - Story 1 - Offset from Story = 0.0m Site Plan Design Layer: - Not tied to any story and design layer elevation set to 0.0m - Site Model has contours relating to real world levels, and site model object is always set to 0.0 z value - Then the House Plan related design layers are viewported onto the Site Plan design layer. And the viewport's z value is set to the desire RL/FFL. In this case 54.5m. Apologies, the viewport should be kept at 0.0, as the Story level takes care of this step. Hope that makes sense. Would be easier to sketch it out, but hopefully these words will do for now. Cheers, Tui
  14. twk

    purple background

    Shot in the dark here, but check your Interactive Appearance Settings; Under the Interactive Tab, in the Vectorworks Preferences Cycle through those and see whether anything is out of place
  15. twk

    Railing/Fence Tool

    To VW developer's watching this thread. We need this level of intuitiveness for a railing tool:

 

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.

×