Skip to content

Instantly share code, notes, and snippets.

Justin Smith justinmilo

Block or report user

Report or block justinmilo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
justinmilo /
Created Dec 26, 2014
My base code of shared functions for vectorscript
import vs
import VSEnums
from imp import reload
reload (VSEnums)
def createClass(newname):
# check to see if the class name is in use }
if vs.GetObject(newname):
import vs
#MARK-Object Type
class ObjectType():
Line = 2
Rectangle = 3
Oval = 4
Polygon = 5
justinmilo /
Last active Aug 29, 2015
Vectorworks Make Unique Command
import vs;
import JSBase
from imp import reload
reload (JSBase)
# Only works on 3D symbols not inside a group.
# maybe only works in plan view // Havent tested
def duplicateSymbolDefinition(h): #handle to symbolDefinition
You can’t perform that action at this time.