Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a function called 'UpdateAttributePosistion' which resides in a module called 'Positioning' inside a DVB file in the support path.
What is the correct macro I need in order to run this from a ribbon button?
At the moment I have:
^C^C_.-vbarun;"Z:\Macros\<long support path>\AC.dvb!Positioning.UpdateAttributePosistion"
which firstly doesn't work and secondly I'd like to be able not to have to specify a path in case this changes in the future. I would like this to find the project via the support path.
I do have macros along these lines:
^C^C^P(if (setq x (findfile "ACAD.lsp"))(progn(load x)(c:PrintA3Model)) " ")
which finds the function via the support path but I'm unsure of how to modify this in order to find a DVB project and call the 'UpdateAttributePosistion' function from within the 'Positioning' module.
Thanks
Solved! Go to Solution.