thank you martin and TIG for you help
Martin I will have a look at the API you offer , I think it is going to help me in my project.
thank you martin and TIG for you help
Martin I will have a look at the API you offer , I think it is going to help me in my project.
@tig said:
Set a variable that points at the camera
Thanks TIG for you answer.
regarding the camera, by the documentation its appear that camera.target is a getter, and can not be used to set the target.
this apply both to up and eye.
correct me if I am wrong.
yeah , a group is a good idea.
a question , what is pt1 , remember that I wish to move the entire shape by a selected endpoint (I got 5 to choose from)
going one step further, you can use microsoft script debugger, to debug those errors the IE raises
I think its a standalone that you can download from microsoft website.
when I had visual studio 2005 installed on my PC back then, for some reason it took over on the standard error popup , and went directly to debug it in the Visual studio environment.
script debugger work well on XP , didn't try it on vista nor 7
Hi there,
I am new to sketchup development.
and I am developing a concept application, so during the development I will probably have several questions in the process of developing and learning.
Question 1
I managed to set the active_view to a custom camera.
using:
Sketchup;;Camera.new eye, target, up
the question is it possible to change manipulate the camera without recreating the object for each change, for example: rotate the camera, or move the eye position.
Question 2
I got A fairly simple 3D shape - pyramid.
top end point
/\.
/|_\`.
/__|_\/`.
/__|__|\/.`.
b /_|__|__|\/`/`. c
/|__|___|__\/`/
a /__|___|___|_\/ d
this shape got 5 end points, when 1 at top of the pyramid is connected with the rest (4).
what I want to do is first detect this end point, and then move the entire shape to different position [x,y,z]
so thats mean I need a way to find a shape end points listed.
and then the proper way to move a shape to a new position, using the selected endpoint as the handle.
thanks for your help, hope you can help me with my issues.