Plugin Cafe Homepage
Forum Home Forum Home > Plugin Cafe > SDK Help
  New Posts New Posts
  FAQ FAQ  Forum Search

Menu Plugins updateing the document

Author
Message
  Topic Search Topic Search
mdme sadie View Drop Down
Member
Member


Joined: 2002 Oct 30
Location: United States
Online Status: Offline
Posts: 76
Direct Link To This Post Topic: Menu Plugins updateing the document
    Posted: 2003 Feb 12 at 3:16pm

User Information:

Cinema 4D Version:   8.012 
Platform:      Mac OSX  ; 
Language(s):   C.O.F.F.E.E  ;   

---------

How can i force the document to update from a menuplugin? currently i'm using a SendModelingCommand function and then trying to update the objects with a object->Message(MSG_UPDATE); but it still requires that the camera move, or in fact any action take place in the document before teh viewport refreshes and the result of using the menuplugin become visible.
www.peranders.com
Back to Top
Katachi View Drop Down
Member
Member
Avatar

Joined: 2002 Oct 30
Location: Germany
Online Status: Offline
Posts: 2543
Direct Link To This Post Posted: 2003 Feb 12 at 4:58pm
GeEventAdd(DOCUMENT_CHANGED) should work...for more events and information have a look into the COFFEE docs.
Back to Top
mdme sadie View Drop Down
Member
Member


Joined: 2002 Oct 30
Location: United States
Online Status: Offline
Posts: 76
Direct Link To This Post Posted: 2003 Feb 12 at 10:35pm
thanks, that does the trick nicely :)
www.peranders.com
Back to Top

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.61 [Free Express Edition]
Copyright ©2001-2009 Web Wiz

This page was generated in 0.094 seconds.