Hi,
I glue the second shape to the first.
I change a height or width of the second shape. This destroys the PinX, PinY formula.
My question is how to trigger eventXFmod to keep glue between these two shapes?
Thanks in advance
Check if manually guarding the formulas prevents the gluing from being destroyed. If it works, write a macro which will do the job on a push of a button.
Visio creates a formula for PinX :
=PNTX(LOCTOPAR(PNT(Process!Connections.X2,Process!Connections.Y2),Process!EventXFMod,EventXFMod))+10.3272 mm
which is not general, to be general it has to contain width/2 instead of 10.3272, so guard doesn`t help.
It worked just fine for me.
I put the origin of the shape (locpinx and locpiny) on the connected point, guarded the formulas of pinx and piny.
I could then modify the height and the width of the shape, without destroying the glue.
used this loctoloc approach a lot...works fine.
Tedious but fine
and why loctoloc? Note that each panel can be uniquely colored
Quote from: Yacine on May 02, 2018, 05:56:24 PM
It worked just fine for me.
I put the origin of the shape (locpinx and locpiny) on the connected point, guarded the formulas of pinx and piny.
I could then modify the height and the width of the shape, without destroying the glue.
Imagine that you have two connection points
Is there a way to get a cell formula (not value) in a shapesheet (not VBA), something like SETF(cellref,"formula")?
If it is possible, I`d read formula for PinX and insert corrected (getf(PinX,"formula")-getval(width)/2+width/2) in eventXFMod cell.
Quote from: Hellboy on May 03, 2018, 05:03:48 AM
Is there a way to get a cell formula (not value) in a shapesheet (not VBA), something like SETF(cellref,"formula")?
It works, just make sure to add an equal sign at the beginning.
I got the cyclic reference with glue formula. See attachment
Once the sphere of death is assembled, group it. That ought to maintain the shape and structure. Every piece will expand / contract proportionately with group shape.
Wapperdude
Browser ID: smf
(is_webkit)
Templates: 1:
Printpage (default).
Sub templates: 4:
init,
print_above,
main,
print_below.
Language files: 1:
index+Modifications.english (default).
Style sheets: 0:
.
Hooks called: 67 (
showintegrate_autoload, cache_get_data, integrate_pre_load, integrate_load_session, integrate_verify_user, cache_get_data, integrate_user_info, integrate_load_board, cache_get_data, integrate_board_info, cache_get_data, integrate_allowed_to_general, integrate_pre_load_theme, cache_get_data, integrate_allowed_to_general, integrate_simple_actions, integrate_allowed_to_general, integrate_load_theme, integrate_pre_log_stats, integrate_actions, integrate_pre_parsebbc, integrate_bbc_codes, integrate_bbc_print, integrate_post_parsebbc, integrate_pre_parsebbc, integrate_bbc_print, integrate_post_parsebbc, integrate_pre_parsebbc, integrate_bbc_print, integrate_post_parsebbc, integrate_pre_parsebbc, integrate_bbc_print, integrate_post_parsebbc, integrate_pre_parsebbc, integrate_bbc_print, integrate_post_parsebbc, integrate_pre_parsebbc, integrate_bbc_print, integrate_post_parsebbc, integrate_pre_parsebbc, integrate_bbc_print, integrate_post_parsebbc, integrate_pre_parsebbc, integrate_bbc_print, integrate_post_parsebbc, integrate_pre_parsebbc, integrate_bbc_print, integrate_post_parsebbc, integrate_pre_parsebbc, integrate_bbc_print, integrate_post_parsebbc, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_menu_buttons, integrate_current_action, integrate_theme_context, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general)
Files included: 25 - 925KB. (
show/home/iw0lkfe3x6cq/public_html/vgforum/index.php, /home/iw0lkfe3x6cq/public_html/vgforum/Settings.php, /home/iw0lkfe3x6cq/public_html/vgforum/cache/db_last_error.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/QueryString.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Subs.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Subs-Auth.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Errors.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Load.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Security.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Subs-Compat.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Subs-Db-mysql.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Cache/CacheApi.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Cache/CacheApiInterface.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Cache/APIs/FileBased.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Subs-Charset.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Unicode/Metadata.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Unicode/QuickCheck.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Session.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Logging.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Class-BrowserDetect.php, (Current Theme)/languages/index.english.php, (Current Theme)/languages/Modifications.english.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Printpage.php, (Current Theme)/Printpage.template.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Unicode/CaseUpper.php)
Memory used: 770KB.
Tokens:
post-login.
Cache hits: 6: 0.00105s for 22,291 bytes (
showget modSettings: 0.00050s - 19982 bytes, get known_languages: 0.00023s - 1277 bytes, get board_parents-0: 0.00010s - 2 bytes, get permissions:-1: 0.00009s - 50 bytes, get theme_settings-1: 0.00011s - 980 bytes, get menu_buttons--1-english: 0.00001s - 0 bytes)
Cache misses: 1: (
showget menu_buttons--1-english)
Queries used: 8.
[Show Queries]