Spline primitive not appearing in viewport
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 18/12/2012 at 20:25, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 14
Platform:
Language(s) : C++ ;---------
My plugin involves adding some of the default C4D primitives to the scene through code. The poly primitives work fine but the spline primitives don't appear in the viewport until you make a change to one of their properties in the attribute editor. Any thoughts on what I need to do to get the splines to show up? -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 18/12/2012 at 22:23, xxxxxxxx wrote:
How do you add the splines to the scene? Simply calling BaseDocument::InsertObject() or one
of the BaseList2D::Insert~() methods? When using these, the inserted object should behave like
any other object..-Nik
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 18/12/2012 at 22:41, xxxxxxxx wrote:
Don't forget to call:
splineObj->Message(MSG_UPDATE);
EventAdd();EventAdd() causes C4D to issue a general message (CoreMessage) to update things like the editor display and object manager.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 19/12/2012 at 20:22, xxxxxxxx wrote:
Yeah it was the Message(MSG_UPDATE)
I feel stupid now. Thanks guys.