Class ID


  • public class ID
    extends CFacade
    Generated facet for DNA struct type 'ID'.

    Class Documentation

    Java .Blend

    Represents the ID of any element in DNA which is stored in a library (see Library). Those elements are instances of structs which contain an embedded member of type ID as their first element.
    IDs of the same element type are linked in linked list (see Link)

    Blender Source Code

    There's a nasty circular dependency here.... 'void *' to the rescue! I really wonder why this is needed.

    • Field Detail

      • __DNA__SDNA_INDEX

        public static final int __DNA__SDNA_INDEX
        This is the sdna index of the struct ID.

        It is required when allocating a new block to store data for ID.

        See Also:
        StructDNA, BlockTable, Constant Field Values
      • __DNA__FIELD__next

        public static final long[] __DNA__FIELD__next
        Field descriptor (offset) for struct member 'next'.

        Field Documentation

        Java .Blend

        reference on the next element in linked list

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         ID id = ...;
         CPointer<Object> p = id.__dna__addressof(ID.__DNA__FIELD__next);
         CPointer<CPointer<Object>> p_next = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'next'
        • Signature: 'void*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__prev

        public static final long[] __DNA__FIELD__prev
        Field descriptor (offset) for struct member 'prev'.

        Field Documentation

        Java .Blend

        reference on previous element in linked list

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         ID id = ...;
         CPointer<Object> p = id.__dna__addressof(ID.__DNA__FIELD__prev);
         CPointer<CPointer<Object>> p_prev = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'prev'
        • Signature: 'void*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__newid

        public static final long[] __DNA__FIELD__newid
        Field descriptor (offset) for struct member 'newid'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         ID id = ...;
         CPointer<Object> p = id.__dna__addressof(ID.__DNA__FIELD__newid);
         CPointer<CPointer<ID>> p_newid = p.cast(new Class[]{CPointer.class, ID.class});
         

        Metadata

        • Field: 'newid'
        • Signature: 'ID*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__lib

        public static final long[] __DNA__FIELD__lib
        Field descriptor (offset) for struct member 'lib'.

        Field Documentation

        Java .Blend

        Reference on the library this library element belongs to.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         ID id = ...;
         CPointer<Object> p = id.__dna__addressof(ID.__DNA__FIELD__lib);
         CPointer<CPointer<Library>> p_lib = p.cast(new Class[]{CPointer.class, Library.class});
         

        Metadata

        • Field: 'lib'
        • Signature: 'Library*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__name

        public static final long[] __DNA__FIELD__name
        Field descriptor (offset) for struct member 'name'.

        Field Documentation

        Java .Blend

        The name of the element. Names follow a certain convention.

        Names of library elements which have an specific block code, such as Mesh (ME) and Tex (ME), always have the first two ASCII characters of the block code as its prefix. Data of blocks with unspecified block code (i.e. BlockCodes.ID_DATA) have other names.

        A few examples of names:
        Element typeName prefix
        BlenderObject"OB"
        Mesh"ME"
        Material"MA"
        Tex"TE"
        CustomDataLayer for MPoly"NGon Face"
        CustomDataLayer for MLoop"NGon Face-Vertex"

        Blender Python API

        Unique data-block ID name

        Blender Source Code

        MAX_ID_NAME.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         ID id = ...;
         CPointer<Object> p = id.__dna__addressof(ID.__DNA__FIELD__name);
         CPointer<CArrayFacade<Byte>> p_name = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: 'name'
        • Signature: 'char[66]'
        • Actual Size (32bit/64bit): 66/66
      • __DNA__FIELD__flag

        public static final long[] __DNA__FIELD__flag
        Field descriptor (offset) for struct member 'flag'.

        Field Documentation

        Java .Blend

        In files usually 1024. One of:
        LIB_LOCAL0
        LIB_EXTERN1
        LIB_INDIRECT2
        LIB_NEED_EXPAND8
        LIB_TESTEXT(LIB_NEED_EXPAND | LIB_EXTERN)
        LIB_TESTIND(LIB_NEED_EXPAND | LIB_INDIRECT)
        LIB_READ16
        LIB_NEED_LINK32
        LIB_NEW256
        LIB_FAKEUSER512
        LIB_DOIT1024free test flag
        LIB_PRE_EXISTING2048tag existing data before linking so we know what is new
        LIB_ID_RECALC4096runtime
        LIB_ID_RECALC_DATA8192runtime

        Blender Source Code

        LIB_... flags report on status of the data-block this ID belongs to (persistent, saved to and read from .blend).

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         ID id = ...;
         CPointer<Object> p = id.__dna__addressof(ID.__DNA__FIELD__flag);
         CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__tag

        public static final long[] __DNA__FIELD__tag
        Field descriptor (offset) for struct member 'tag'.

        Field Documentation

        Blender Python API

        Tools can use this to tag data for their own purposes (initial state is undefined)

        Blender Source Code

        LIB_TAG_... tags (runtime only, cleared at read time).

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         ID id = ...;
         CPointer<Object> p = id.__dna__addressof(ID.__DNA__FIELD__tag);
         CPointer<Integer> p_tag = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'tag'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__us

        public static final long[] __DNA__FIELD__us
        Field descriptor (offset) for struct member 'us'.

        Field Documentation

        Java .Blend

        Reference counter, counts number of references on the corresponding element. If 0, the element will not be stored in a file.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         ID id = ...;
         CPointer<Object> p = id.__dna__addressof(ID.__DNA__FIELD__us);
         CPointer<Integer> p_us = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'us'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__icon_id

        public static final long[] __DNA__FIELD__icon_id
        Field descriptor (offset) for struct member 'icon_id'.

        Field Documentation

        Java .Blend

        Always 0 in files. Will be recalculated base on the library element type when loaded.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         ID id = ...;
         CPointer<Object> p = id.__dna__addressof(ID.__DNA__FIELD__icon_id);
         CPointer<Integer> p_icon_id = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'icon_id'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__recalc

        public static final long[] __DNA__FIELD__recalc
        Field descriptor (offset) for struct member 'recalc'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         ID id = ...;
         CPointer<Object> p = id.__dna__addressof(ID.__DNA__FIELD__recalc);
         CPointer<Integer> p_recalc = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'recalc'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__recalc_up_to_undo_push

        public static final long[] __DNA__FIELD__recalc_up_to_undo_push
        Field descriptor (offset) for struct member 'recalc_up_to_undo_push'.

        Field Documentation

        Blender Source Code

        Used by undo code. recalc_after_undo_push contains the changes between the last undo push and the current state. This is accumulated as IDs are tagged for update in the depsgraph, and only cleared on undo push.

        recalc_up_to_undo_push is saved to undo memory, and is the value of recalc_after_undo_push at the time of the undo push. This means it can be used to find the changes between undo states.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         ID id = ...;
         CPointer<Object> p = id.__dna__addressof(ID.__DNA__FIELD__recalc_up_to_undo_push);
         CPointer<Integer> p_recalc_up_to_undo_push = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'recalc_up_to_undo_push'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__recalc_after_undo_push

        public static final long[] __DNA__FIELD__recalc_after_undo_push
        Field descriptor (offset) for struct member 'recalc_after_undo_push'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         ID id = ...;
         CPointer<Object> p = id.__dna__addressof(ID.__DNA__FIELD__recalc_after_undo_push);
         CPointer<Integer> p_recalc_after_undo_push = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'recalc_after_undo_push'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__session_uuid

        public static final long[] __DNA__FIELD__session_uuid
        Field descriptor (offset) for struct member 'session_uuid'.

        Field Documentation

        Blender Source Code

        A session-wide unique identifier for a given ID , that remain the same across potential re-allocations (e.g. due to undo/redo steps).

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         ID id = ...;
         CPointer<Object> p = id.__dna__addressof(ID.__DNA__FIELD__session_uuid);
         CPointer<Integer> p_session_uuid = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'session_uuid'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__properties

        public static final long[] __DNA__FIELD__properties
        Field descriptor (offset) for struct member 'properties'.

        Field Documentation

        Java .Blend

        List of associated properties.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         ID id = ...;
         CPointer<Object> p = id.__dna__addressof(ID.__DNA__FIELD__properties);
         CPointer<CPointer<IDProperty>> p_properties = p.cast(new Class[]{CPointer.class, IDProperty.class});
         

        Metadata

        • Field: 'properties'
        • Signature: 'IDProperty*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__override_library

        public static final long[] __DNA__FIELD__override_library
        Field descriptor (offset) for struct member 'override_library'.

        Field Documentation

        Blender Python API

        (read-only) Library override data

        Blender Source Code

        Reference linked ID which this one overrides.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         ID id = ...;
         CPointer<Object> p = id.__dna__addressof(ID.__DNA__FIELD__override_library);
         CPointer<CPointer<IDOverrideLibrary>> p_override_library = p.cast(new Class[]{CPointer.class, IDOverrideLibrary.class});
         

        Metadata

        • Field: 'override_library'
        • Signature: 'IDOverrideLibrary*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__orig_id

        public static final long[] __DNA__FIELD__orig_id
        Field descriptor (offset) for struct member 'orig_id'.

        Field Documentation

        Blender Source Code

        Only set for data-blocks which are coming from copy-on-write, points to the original version of it.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         ID id = ...;
         CPointer<Object> p = id.__dna__addressof(ID.__DNA__FIELD__orig_id);
         CPointer<CPointer<ID>> p_orig_id = p.cast(new Class[]{CPointer.class, ID.class});
         

        Metadata

        • Field: 'orig_id'
        • Signature: 'ID*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__py_instance

        public static final long[] __DNA__FIELD__py_instance
        Field descriptor (offset) for struct member 'py_instance'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         ID id = ...;
         CPointer<Object> p = id.__dna__addressof(ID.__DNA__FIELD__py_instance);
         CPointer<CPointer<Object>> p_py_instance = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'py_instance'
        • Signature: 'void*'
        • Actual Size (32bit/64bit): 4/8
    • Constructor Detail

      • ID

        public ID​(long __address,
                  Block __block,
                  BlockTable __blockTable)
      • ID

        protected ID​(ID that)
    • Method Detail

      • getNext

        public CPointer<java.lang.Object> getNext()
                                           throws java.io.IOException
        Get method for struct member 'next'.

        Field Documentation

        Java .Blend

        reference on the next element in linked list
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__next
      • setNext

        public void setNext​(CPointer<java.lang.Object> next)
                     throws java.io.IOException
        Set method for struct member 'next'.

        Field Documentation

        Java .Blend

        reference on the next element in linked list
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__next
      • getPrev

        public CPointer<java.lang.Object> getPrev()
                                           throws java.io.IOException
        Get method for struct member 'prev'.

        Field Documentation

        Java .Blend

        reference on previous element in linked list
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prev
      • setPrev

        public void setPrev​(CPointer<java.lang.Object> prev)
                     throws java.io.IOException
        Set method for struct member 'prev'.

        Field Documentation

        Java .Blend

        reference on previous element in linked list
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prev
      • getNewid

        public CPointer<ID> getNewid()
                              throws java.io.IOException
        Get method for struct member 'newid'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__newid
      • setNewid

        public void setNewid​(CPointer<ID> newid)
                      throws java.io.IOException
        Set method for struct member 'newid'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__newid
      • getLib

        public CPointer<Library> getLib()
                                 throws java.io.IOException
        Get method for struct member 'lib'.

        Field Documentation

        Java .Blend

        Reference on the library this library element belongs to.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__lib
      • setLib

        public void setLib​(CPointer<Library> lib)
                    throws java.io.IOException
        Set method for struct member 'lib'.

        Field Documentation

        Java .Blend

        Reference on the library this library element belongs to.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__lib
      • getName

        public CArrayFacade<java.lang.Byte> getName()
                                             throws java.io.IOException
        Get method for struct member 'name'.

        Field Documentation

        Java .Blend

        The name of the element. Names follow a certain convention.

        Names of library elements which have an specific block code, such as Mesh (ME) and Tex (ME), always have the first two ASCII characters of the block code as its prefix. Data of blocks with unspecified block code (i.e. BlockCodes.ID_DATA) have other names.

        A few examples of names:
        Element typeName prefix
        BlenderObject"OB"
        Mesh"ME"
        Material"MA"
        Tex"TE"
        CustomDataLayer for MPoly"NGon Face"
        CustomDataLayer for MLoop"NGon Face-Vertex"

        Blender Python API

        Unique data-block ID name

        Blender Source Code

        MAX_ID_NAME.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__name
      • setName

        public void setName​(CArrayFacade<java.lang.Byte> name)
                     throws java.io.IOException
        Set method for struct member 'name'.

        Field Documentation

        Java .Blend

        The name of the element. Names follow a certain convention.

        Names of library elements which have an specific block code, such as Mesh (ME) and Tex (ME), always have the first two ASCII characters of the block code as its prefix. Data of blocks with unspecified block code (i.e. BlockCodes.ID_DATA) have other names.

        A few examples of names:
        Element typeName prefix
        BlenderObject"OB"
        Mesh"ME"
        Material"MA"
        Tex"TE"
        CustomDataLayer for MPoly"NGon Face"
        CustomDataLayer for MLoop"NGon Face-Vertex"

        Blender Python API

        Unique data-block ID name

        Blender Source Code

        MAX_ID_NAME.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__name
      • getFlag

        public short getFlag()
                      throws java.io.IOException
        Get method for struct member 'flag'.

        Field Documentation

        Java .Blend

        In files usually 1024. One of:
        LIB_LOCAL0
        LIB_EXTERN1
        LIB_INDIRECT2
        LIB_NEED_EXPAND8
        LIB_TESTEXT(LIB_NEED_EXPAND | LIB_EXTERN)
        LIB_TESTIND(LIB_NEED_EXPAND | LIB_INDIRECT)
        LIB_READ16
        LIB_NEED_LINK32
        LIB_NEW256
        LIB_FAKEUSER512
        LIB_DOIT1024free test flag
        LIB_PRE_EXISTING2048tag existing data before linking so we know what is new
        LIB_ID_RECALC4096runtime
        LIB_ID_RECALC_DATA8192runtime

        Blender Source Code

        LIB_... flags report on status of the data-block this ID belongs to (persistent, saved to and read from .blend).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • setFlag

        public void setFlag​(short flag)
                     throws java.io.IOException
        Set method for struct member 'flag'.

        Field Documentation

        Java .Blend

        In files usually 1024. One of:
        LIB_LOCAL0
        LIB_EXTERN1
        LIB_INDIRECT2
        LIB_NEED_EXPAND8
        LIB_TESTEXT(LIB_NEED_EXPAND | LIB_EXTERN)
        LIB_TESTIND(LIB_NEED_EXPAND | LIB_INDIRECT)
        LIB_READ16
        LIB_NEED_LINK32
        LIB_NEW256
        LIB_FAKEUSER512
        LIB_DOIT1024free test flag
        LIB_PRE_EXISTING2048tag existing data before linking so we know what is new
        LIB_ID_RECALC4096runtime
        LIB_ID_RECALC_DATA8192runtime

        Blender Source Code

        LIB_... flags report on status of the data-block this ID belongs to (persistent, saved to and read from .blend).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • getTag

        public int getTag()
                   throws java.io.IOException
        Get method for struct member 'tag'.

        Field Documentation

        Blender Python API

        Tools can use this to tag data for their own purposes (initial state is undefined)

        Blender Source Code

        LIB_TAG_... tags (runtime only, cleared at read time).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tag
      • setTag

        public void setTag​(int tag)
                    throws java.io.IOException
        Set method for struct member 'tag'.

        Field Documentation

        Blender Python API

        Tools can use this to tag data for their own purposes (initial state is undefined)

        Blender Source Code

        LIB_TAG_... tags (runtime only, cleared at read time).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tag
      • getUs

        public int getUs()
                  throws java.io.IOException
        Get method for struct member 'us'.

        Field Documentation

        Java .Blend

        Reference counter, counts number of references on the corresponding element. If 0, the element will not be stored in a file.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__us
      • setUs

        public void setUs​(int us)
                   throws java.io.IOException
        Set method for struct member 'us'.

        Field Documentation

        Java .Blend

        Reference counter, counts number of references on the corresponding element. If 0, the element will not be stored in a file.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__us
      • getIcon_id

        public int getIcon_id()
                       throws java.io.IOException
        Get method for struct member 'icon_id'.

        Field Documentation

        Java .Blend

        Always 0 in files. Will be recalculated base on the library element type when loaded.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__icon_id
      • setIcon_id

        public void setIcon_id​(int icon_id)
                        throws java.io.IOException
        Set method for struct member 'icon_id'.

        Field Documentation

        Java .Blend

        Always 0 in files. Will be recalculated base on the library element type when loaded.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__icon_id
      • getRecalc

        public int getRecalc()
                      throws java.io.IOException
        Get method for struct member 'recalc'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__recalc
      • setRecalc

        public void setRecalc​(int recalc)
                       throws java.io.IOException
        Set method for struct member 'recalc'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__recalc
      • getRecalc_up_to_undo_push

        public int getRecalc_up_to_undo_push()
                                      throws java.io.IOException
        Get method for struct member 'recalc_up_to_undo_push'.

        Field Documentation

        Blender Source Code

        Used by undo code. recalc_after_undo_push contains the changes between the last undo push and the current state. This is accumulated as IDs are tagged for update in the depsgraph, and only cleared on undo push.

        recalc_up_to_undo_push is saved to undo memory, and is the value of recalc_after_undo_push at the time of the undo push. This means it can be used to find the changes between undo states.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__recalc_up_to_undo_push
      • setRecalc_up_to_undo_push

        public void setRecalc_up_to_undo_push​(int recalc_up_to_undo_push)
                                       throws java.io.IOException
        Set method for struct member 'recalc_up_to_undo_push'.

        Field Documentation

        Blender Source Code

        Used by undo code. recalc_after_undo_push contains the changes between the last undo push and the current state. This is accumulated as IDs are tagged for update in the depsgraph, and only cleared on undo push.

        recalc_up_to_undo_push is saved to undo memory, and is the value of recalc_after_undo_push at the time of the undo push. This means it can be used to find the changes between undo states.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__recalc_up_to_undo_push
      • getRecalc_after_undo_push

        public int getRecalc_after_undo_push()
                                      throws java.io.IOException
        Get method for struct member 'recalc_after_undo_push'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__recalc_after_undo_push
      • setRecalc_after_undo_push

        public void setRecalc_after_undo_push​(int recalc_after_undo_push)
                                       throws java.io.IOException
        Set method for struct member 'recalc_after_undo_push'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__recalc_after_undo_push
      • getSession_uuid

        public int getSession_uuid()
                            throws java.io.IOException
        Get method for struct member 'session_uuid'.

        Field Documentation

        Blender Source Code

        A session-wide unique identifier for a given ID , that remain the same across potential re-allocations (e.g. due to undo/redo steps).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__session_uuid
      • setSession_uuid

        public void setSession_uuid​(int session_uuid)
                             throws java.io.IOException
        Set method for struct member 'session_uuid'.

        Field Documentation

        Blender Source Code

        A session-wide unique identifier for a given ID , that remain the same across potential re-allocations (e.g. due to undo/redo steps).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__session_uuid
      • getProperties

        public CPointer<IDProperty> getProperties()
                                           throws java.io.IOException
        Get method for struct member 'properties'.

        Field Documentation

        Java .Blend

        List of associated properties.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__properties
      • setProperties

        public void setProperties​(CPointer<IDProperty> properties)
                           throws java.io.IOException
        Set method for struct member 'properties'.

        Field Documentation

        Java .Blend

        List of associated properties.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__properties
      • getOverride_library

        public CPointer<IDOverrideLibrary> getOverride_library()
                                                        throws java.io.IOException
        Get method for struct member 'override_library'.

        Field Documentation

        Blender Python API

        (read-only) Library override data

        Blender Source Code

        Reference linked ID which this one overrides.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__override_library
      • setOverride_library

        public void setOverride_library​(CPointer<IDOverrideLibrary> override_library)
                                 throws java.io.IOException
        Set method for struct member 'override_library'.

        Field Documentation

        Blender Python API

        (read-only) Library override data

        Blender Source Code

        Reference linked ID which this one overrides.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__override_library
      • getOrig_id

        public CPointer<ID> getOrig_id()
                                throws java.io.IOException
        Get method for struct member 'orig_id'.

        Field Documentation

        Blender Source Code

        Only set for data-blocks which are coming from copy-on-write, points to the original version of it.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__orig_id
      • setOrig_id

        public void setOrig_id​(CPointer<ID> orig_id)
                        throws java.io.IOException
        Set method for struct member 'orig_id'.

        Field Documentation

        Blender Source Code

        Only set for data-blocks which are coming from copy-on-write, points to the original version of it.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__orig_id
      • getPy_instance

        public CPointer<java.lang.Object> getPy_instance()
                                                  throws java.io.IOException
        Get method for struct member 'py_instance'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__py_instance
      • setPy_instance

        public void setPy_instance​(CPointer<java.lang.Object> py_instance)
                            throws java.io.IOException
        Set method for struct member 'py_instance'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__py_instance
      • __io__addressof

        public CPointer<ID> __io__addressof()
        Instantiates a pointer on this instance.