twk

Member
  • Content count

    330
  • Joined

  • Last visited

Community Reputation

41 Great

4 Followers

About twk

  • Rank
    Journeyman

Personal Information

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

Recent Profile Visitors

1,108 profile views
  1. Its 2018, next year.. please make this into v2019.. I still dont see the reason why the new class editing, has a whole tab, dedicated to only the Descripiton.. what UI design intent is this? No hating, seriously would like to know.
  2. 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?
  3. Haha,.. I shall wait for the forum upgrade completion before posting the rest then!.. yep there's more.
  4. 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
  5. In case no one's got this on their radar.
  6. Confirming screen capture for Chrome, Windows 10
  7. +1 This would be a good addition
  8. 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
  9. There is this documentation: http://developer.vectorworks.net/index.php/VS:Progress_Dialog Which still goes over my head..
  10. 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
  11. 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..
  12. Interesting thing, this has started to work with Vectorworks 2017 SP4
  13. Awesome, thanks H! FYI its: result = vs.SetObjPropVS(49, True)
  14. Hey H, yes thats what I thought as well. Just don't know what event switches to set, or ObjectVariableInts or Bool?
  15. Theres no documentation I could find on setting up your plugin/plugin object to recieve/set plugin styles. Anyone knows?