Programmatic Off Page Connectors

J

John

Hi there,

Can anyone tell me if it's possible to use the OPC addon programatically
(and if so how)? I'm trying to recreate a document using new masters and
this works fine apart from the few shapes that are off page connectors.

Any clues?

Thanks

John
 
J

JuneTheSecond

I do not know the exact programatical method for the function
"RUNADDONWARGS("OPC","/CMD=1")" on EventDblClick cell of shapesheet.
But you might do, if you run a VBA macro like an ActiveWindow.Page =
ThisDocument.Pages.ItemU("Page-2"), or if you put RUNMACRO function in your
shape to run the macro.
 
D

David Parker

Actually, you can include the Off Page Reference functionality in your
masters. In addition to the EventDblClick, you need the EvntDrop formula

The add-on also adds 3 user-defined cells and an hyperlink, so I always
include these in the Master shape.
 
J

JuneTheSecond

Yes, sure, thanks, David. the function should be written in EventDrop cell.
 
J

John

Great. Thanks to you both for that. I was clear which shapesheet additions
it made, but I'm clearer now so I can replicate the behaviour in code.

Incidently, I can't seem to find any details in Help for the OPC addon. Is
there somewhere else I should be looking for info on inbuilt addons
(parameters etc.)?

Anyway, thanks again.

John
 
D

David Parker

Undocumented I'm afraid. (Psst ... try changing the number to 4 ... you'll
be prompted to create an off-document reference)
 
J

JuneTheSecond

And more. "/CMD=4" makes the formula "Off-Drawing Reference" in spite of
"Off-Page". You can jump to another drawing.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top