Issue with scripting and an object's 'locked' property
All  1-4  5-7

Previous
Next
 From:  run
6317.5 In reply to 6317.3 
Hi Michael,

>What web browser are you using?

Chrome. I Just tested it with Opera and IE 8(I generally access the internet through the older XP machine
and newer IE versions aren't supported). Opera doesn't a have this problem, but IE 8 does.

>So that MoI will read in that script file from disk every time you run it rather than caching it.

This is a really great tip. it makes things much easier.

Thanks!

-Jeff
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  run
6317.6 In reply to 6317.4 
Your faster your big replies than I am with my short ones :)

>so when you run a factory, it's more like the objects you put into it are deleted and new objects are >created, this happens even for things like transformations.

Ah, this explains a lot. While testing scripts somethings things would break part way through and I'd
occasionally end up with duplicates and couldn't figure why, since I wasn't doing any duplicating.
But it makes sense in hindsight, a 'factory' manufactures things. This was really a missing puzzle piece
for me and one I didn't know I was missing.

>and they're only still around at all at that point because the script is referencing them.

I'm going to be a little lazy here ask this rather testing it myself. How much of these delete objects'
data is still accessible? I could see it being useful at times if it is.

Thanks again,

-Jeff
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Michael Gibson
6317.7 In reply to 6317.6 
Hi Jeff,

> I'm going to be a little lazy here ask this rather testing it myself. How much of these delete objects'
> data is still accessible? I could see it being useful at times if it is.

Well, you can access properties on it the same as any other object.

I guess it would be more accurate to say that it's "removed from the geometry database" at that point, it's not actually deleted entirely from memory until the last reference count on the object is released.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1-4  5-7