I was wondering if it was possible to create a "virtual" entities or model variable where I can make lines and faces without affecting the model I'm working on. The reason for this is that I want to create a cube like this:
	def cubecomp(x,y,z)
		
		orig = Geom;;Point3d.new 0,0,0
		pts = []
		pts[0] = orig
		pts[1] = orig + x
		pts[3] = orig + y
		pts[2] = pts[1] + x + y
		
		cubeface = entities.add_face pts
		cubeface.pushpull - z.length, true
		cube = cubeface.all_connected
The potential problem I'm afraid of is that if one of the vertices of the cube is on an edge that is already in the model, I will select it with the all_connected method. What I would like to do is something like virtualEntities = Entities.new and use this to build the cube. Later, I want to copy this cube to several different locations.
Does anyone know if something like this is possible or if there is a safe work around?