Forum: Poser Python Scripting


Subject: Scripting forum still totally broken.

HartyBart opened this issue on Oct 01, 2021 ยท 23 posts


HartyBart posted Thu, 14 October 2021 at 5:49 AM

Copy and pasting from a proper code editor now works, but not from Notepad++. Examples:

# Copy and Paste from Notepad++ with Language : Python set and colour-coding on. Indenting correct but colors lost and spacing off.

if figure:

    head_parts = figure.Actor("Head").Children()

    for target in head_parts:

        targetname = target.InternalName()

        if "Brow" not in targetname and ("Eye" in targetname or "eye" in targetname) :

            [then do something]

# Copy and Paste from Visual Code Studio. Indenting and colors correct.

if figure:
    head_parts = figure.Actor("Head").Children()
    for target in head_parts:
        targetname = target.InternalName()
        if "Brow" not in targetname and ("Eye" in targetname or "eye" in targetname) :
            [then do something]


Type something under where the code is to go, before pasting in the code (such as this line). Or else you will not be able to add a new normal blank line, and then type normally beneath the code block (as I'm doing now).



Learn the Secrets of Poser 11 and Line-art Filters.