Not signed in (Sign In)

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorwinkleja
    • CommentTimeJun 8th 2016

    Does somebody know whether it is possible to adjust the cell origin in a script.
    I would like to use the function: Edit->Cell->Adjust Origin but in a Ruby script.
    Thanks for your help.

    There is a similar script in TRT. Install TRT according to the instructions, and go to TRT Menu > Selection > Adjust Cell Origin.

    That script is based off - scroll halfway down.

    As it says in the comments of that script, pasted below, this is not the exact same as Edit->Cell->Adjust origin. But at least it can be a starting point.

    ## NOTE: There is a similar function, Edit > Cell > Adjust origin. However 
    ## this script differs in that (A) it acts on the cells selected rather than 
    ## the current 'top' cell; (B) it allows for arbitrary x,y placement of the origin.