NEW PLUGIN! NeoFit 6/7/26 - Page 2 - Forum

Forum Navigation
You need to log in to create posts and topics.

NEW PLUGIN! NeoFit 6/7/26

PreviousPage 2 of 2

ALEJANDRO, I am sorry but I really don't have the time to troubleshot the NeoFit for groups plugin and I really don't think scaling and repositioning groups will work correctly... The original NeoFit plugin scales and repositions objects directly... so I would use that...

To handle different pages in your pub, you should create a subroutine with all the resize code logic for each page in your pub, and call your subroutine each time you switch pages in the Page Enter event... Here is NeoFit subroutine code for one of my projects I am working on...

:onPage1
NeoFit_Clear
NeoFit_SetDesignSize "1920" "1080"

NeoFit_RegisterObject "Main_Screen" "UNIFORM" "UNIFORM" "L" "T" "0" "0"
NeoFit_RegisterObject "Intetion" "UNIFORM" "UNIFORM" "L" "T" "0" "0"
NeoFit_RegisterObject "Prayers" "UNIFORM" "UNIFORM" "L" "T" "0" "0"
NeoFit_RegisterObject "Grounding" "UNIFORM" "UNIFORM" "L" "T" "0" "0"
NeoFit_RegisterObject "Protection" "UNIFORM" "UNIFORM" "L" "T" "0" "0"
NeoFit_Apply
Return

:onPage2
NeoFit_Clear
NeoFit_SetDesignSize "1920" "1080"

NeoFit_RegisterObject "Background" "UNIFORM" "UNIFORM" "L" "T" "0" "0"
NeoFit_RegisterObject "Torch1" "UNIFORM" "UNIFORM" "L" "T" "0" "0"
NeoFit_RegisterObject "Torch2" "UNIFORM" "UNIFORM" "L" "T" "0" "0"
NeoFit_RegisterObject "Flame1" "FIXED" "UNIFORM" "L" "T" "0" "0"
NeoFit_RegisterObject "Flame2" "FIXED" "UNIFORM" "L" "T" "0" "0"

NeoFit_PinObject "Flame1" "Torch1" "BC" "TC" "0" "9"
NeoFit_PinObject "Flame2" "Torch2" "BC" "TC" "0" "9"
NeoFit_Apply
Return

I know you have a lot or groups in your publication... Maybe you could try ungrouping the objects and register each object... using the original NeoFit version without the group feature... Just remember to create a subroutine for each page in your publication and call the subroutine in the Page Enter event... example: GoSub "Page1" etc...

I was hoping the grouped objects feature would work in the plugin but it doesn't seam this is the best use for NeoFit.

Hope that helps...

PreviousPage 2 of 2