Hello Michael, On 05/17/2011 09:30 AM, Michael Raab wrote: > can I set this in fcd or do I need to set it in the class constructor?
it's a field in the base class of all attachments (Attachment), so you set it on an instance at runtime. If you want all instances of an attachment type to be internal by default, you can set the field on the prototype: YourAttachmentPtr proto = YourAttachment::getClassType().getPrototype(); beginEditCP(proto, Attachment::InternalFieldMask); proto->setInternal(true); endEditCP(proto, Attachment::InternalFieldMask); All instances of YourAttachment created after this point will have the internal field set to true. > Do I need a beginEditCP() for this? yes. Cheers, Carsten ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users