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!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement