Reset Tranformation of component/instance
-
Hi all,
First post on this great resource!
I have the following problem. I created a component. I created a script loads the component and creates an instance and does scale and translate. So far so good. But now if i wanna ad a second instance based on user input. I look if the componentdefinition is there, create a second instance and scale en translate it.But looks like the size is used of the first instance. everyting is tranforming badly. So my question: How can i be sure that i use the origingal scale of the component i load and aply good scale over and over again.
Grt,
M
-
Welcome!
Be sure to take advantage of thomthom's blogs (he's a moderator here and prolific plugin author.):
See this one in particular: DEFINITIONS AND INSTANCES IN SKETCHUP
The issue of component transformations is an oft discussed topic here.
Have you done a forum search ?
TIG has answered this question many times, you can do a search on his posts, in this forum, also.
-
Sounds like you have transformed the definition, and not the instances.
A new instance does not inherit the previous. It bases itself entirely on the definition.
-
Thx Dan for the links. After a search of 15 minut I tend to ask someone.
Thomthom: I see what you mean. Thx!
Advertisement