Jump to content

twk

Member
  • Posts

    877
  • Joined

  • Last visited

Everything posted by twk

  1. This is very welcomed.. seeing that different regions have different service pack release dates.. will that be taken into account of as well? Would be great to have that info here as well. Maybe sticky threads for different locales?
  2. Haha,.. I shall wait for the forum upgrade completion before posting the rest then!.. yep there's more.
  3. Should probably start a new post with this Lumion stuff.. but here seems good for now. This will be the last time, sorry for hijacking the Twinmotion thread.. Old Lumion and new Lumion 8 comparisons.. Render time 30secs... still getting used to this.. version 5 - with sketch effects - version 8 - with 'realistic' preset - no post-production
  4. Confirming screen capture for Chrome, Windows 10
  5. In python, strings are treated as list objects. # So take for the example the string below some_string = "four" # in python strings can be thought of as lists # some_string = ['f','o','u','r'] # so to get the first character just use list slicing, calling the index of the character you are after in the string: some_string[0] # will be equal to 'f' # second string: some_string[1] # will be equal to 'o' # and so on.. # and to get the last character, use negative indices some_string[-1] # last character = 'r' hth, Tui
  6. There is this documentation: http://developer.vectorworks.net/index.php/VS:Progress_Dialog Which still goes over my head..
  7. I use all of those above including checking object types.. python: def is_3Dobj(handle_to_object): type3D = [24, 25, 34, 38, 40, 68, 71, 81, 83, 84, 89, 95, 111, 113, 86] if vs.GetTypeN(handle_to_object) in type3D: return True elif vs.GetTypeN(handle_to_object) == 15: symtype = vs.GetSymbolType(handle_to_object) if symtype != 0: return True else: return False else: return False
  8. very possible.. you could use pythons native "json" support to store and retrieve data through .json files. The json module in python neatly handles converting python dictionaries to json files. I use this quite a lot for storing data outside of vectorworks. That being said, I noticed you said you had no real python experience. This is obviously necessary, however python is very easy to catch on if you have some coding experience. I started scripting with vectorscript and self-learnt python in 6 months. There are obvious differences but the python language was just more logic to me. Back to your question.. you said you didn't see any info for instrument data in the function reference? I have no experience in Vectorworks Spotlight module, but if the instrument data is a record attached to an object, hen all the function calls you'd be looking for would be under the records/database section in the Dev Wiki. Let me know and I'll see if I can point you in the right direction with an example script..
  9. Interesting thing, this has started to work with Vectorworks 2017 SP4
  10. Awesome, thanks H! FYI its: result = vs.SetObjPropVS(49, True)
  11. Hey H, yes thats what I thought as well. Just don't know what event switches to set, or ObjectVariableInts or Bool?
  12. Theres no documentation I could find on setting up your plugin/plugin object to recieve/set plugin styles. Anyone knows?
  13. Hi Ian, Having used both Revit, and Archicad in the past, I must say, compared to Vectorworks, Archicad is more similar. Funny you say they're knocking on your door, as they had visited us also, a month or so ago. We've been 'looking over the fence' and keeping tabs on what they are doing. And they are very impressive. The boss here, was really impressed with the BIMx feature as that was crazy incredible. Things that stopped us from jumping ship were: - Many years of Vectorworks use, familiarity with the Software. - Invested a lot of time (more than we should) into setting up Templates, Office CAD Libraries (converting manufactures product detail DWGs to vwx), Staff Training in VW, workflows - Flexibilty of Vectorworks -- (Not tied down with Stories/Pen Sets/etc with Archicad), vectorworks Class system is quite superior when set up properly. -- Modelling -Invested a lot of time in custom plugins and scripting. The introduction of Python, was a game changer for us. Allowed for a more rapid R&D process. Marionette is promising as well, but needs some work. Things that had us peaked our interest: - CADImage Addon - Automatic Cladding of Building Exteriors at the click of a button (Roofs/Walls/Decking) - Revision/Markup workflow - Automatic bubble association with revision/issue sheets and titleblocks - Window and Door Schedule - Automatic Window and Door schedule creation (Any object scheduling creation) - BIMX (Vectorworks needs this) - 3D Cutaway Detailing - there were others, just cant remember right now. Cheers, Tui
  14. As title reads, I tried to submit a bug report for API functions that do not work, however I kept getting a HTTP Error.. can I file this as a bug for bug report submission? Basically, there are a couple of API calls, that do not work in python, or I'm doing it wrong. These are: http://developer.vectorworks.net/index.php/VS:GetResourceTags http://developer.vectorworks.net/index.php/VS:GetProjectUserNames Screenshots from Bug Submission error: To lighten the mood :
  15. Why can't you have a fill opacity set to 50% and it's line set to 100% for plugin objects? Please make this so..
  16. Thanks @Marissa Farrell, much appreciated!
  17. Hello All, Is there a way to get TAB's or Carriage Returns to be set as Delimiters for this Function? EDIT: Figured it out: Copy a 'Carriage Return' or 'TAB' spacing from a text object and paste it in formula Cheers, Tui
  18. That would be me . And, as our CAD Manager, a non marketing change-list is much needed. The Online Help, does have list though, [http://app-help.vectorworks.net/2018/eng/index.htm#t=VW2018_Guide%2FNewFeatures%2FNew_Features.htm]; But what I'm after are more specific changes to 'EXISTING' tools. There's a long thread somewhere about the 'Edit Site Model Source Data' disappearing. Which I believe is not in the help documentation. As 2018 hasn't been released yet in New Zealand, I can only wait and then explore, once its released here. Tagging @Marissa Farrell, @sbarrettfor any update on this?[RE Marionette Changelist Improvements]
  19. twk

    Create Trusses

    Ha!.. Funny that, its gone again..
    This is a great improvement. Was there a list somewhere of the new Marionette features for 2018?
  20. twk

    Create Trusses

    Hey Allan, did you get this sorted? Not sure why someone would downvote you!?
  21. Having a brain-block on a project at the moment, thought I might have a crack at this. example-v2017_tui.vwx
  22. Greetings all, Functions mentioned in title [vs.GetProjectUserNames(), vs.GetResourceTags()] return NoneTypes, not sure whether this is broken. From the DevWiki: http://developer.vectorworks.net/index.php/VS:GetProjectUserNames Description : Get a list of userids that are part of the current project. def vs.GetProjectUserNames(): return (BOOLEAN, userArray) userArray | ARRAY : Array of userids as strings However, upon running this in a Project File, I get a Boolean of True, but a NoneType for userArray. Not sure how to iterate through list of results. This is the same with vs.GetResourceTags(): From the DevWiki: Description : Gets the tags attached to the specified resource. def vs.GetResourceTags(handle): return tags tags | ARRAY : Array of tags Running this on Symbol Definition handle, with tags attached yields a NoneType as well. The Symbol Definition has got tag(s), and running vs.GetNumResourceTags(some_handle) returns the correct number of tags attached to this resource. Any insight would help, @orso b. schmid/ @Pat Stanford
×
×
  • Create New...