THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 22/11/2005 at 02:14, xxxxxxxx wrote:
The correct sintax is:_<_h4_>_
BaseDocument* LoadDocument(const Filename& name, LONG loadflags, BaseThread* thre_<_h4_>_H4>
Similar "LoadFile" but this time the document isn't put into the editors list of documents and you have control over the document_<_h5_>_> _<_h5_>_eturn
> BaseDocument*
>
>> Document that was loaded, or NULL if it failed.
>
> <_<_h5_>_CKQUOTE>
>
> ##### _<_h5_>_rameters_
>
>> const Filename & name
>>
>>> File to load the document from.
>>
>> LONG loadflags
>>
>>> Flags for the loader:
>
>>>
>>>> Constant | Description
>>>> ---|---
>>>>
>>>>
\>>>>
\>>>>
\>>>> SCENEFILTER_OBJECTS
\>>>>
\>>>>
>>>>
>>>> |
>>>>
>>>> Load/save only the objects and associated items, such as materials used.
>>>>
>>>>
\>>>>
\>>>>
\>>>> SCENEFILTER_MATERIALS
\>>>>
\>>>>
>>>>
>>>> |
>>>>
>>>> Load/save only the materials.
>>>>
>>>>
\>>>>
\>>>>
\>>>> SCENEFILTER_DIALOGSALLOWED
\>>>>
\>>>>
>>>>
>>>> |
>>>>
>>>> Flag to inform your plugin that a dialog can be displayed if you wish, if this flag not set then no dialogs must be opened.
>>>>
>>>>
\>>>>
\>>>>
\>>>> SCENEFILTER_PROGRESSALLOWED
\>>>>
\>>>>
>>>>
>>>> |
>>>>
>>>> Flag to inform your plugin that a progress bar can be displayed if you wish. The progress bar can be set by calling StatusSetBar.
>>>>
>>>>
\>>>>
\>>>>
\>>>> SCENEFILTER_MERGESCENE
\>>>>
\>>>>
>>>>
>>>> |
>>>>
>>>> Flag to inform your plugin that this is a merge operation, i.e. that the document you're inserting to is an existing scene.
>>>
>>>
>
>>
>> BaseThread* thread
>>
>>> The current thread, or NULL for the main CINEMA 4D thread. The caller owns the pointed object.
>>>
>>> I think that u miss or put correctly flags & threads.
>>>
>>> Bye