-
FlexPro
- At a Glance
- Features & Options
- Applications
- All Advantages
- What’s New in FlexPro 2021
- Try FlexPro For Free
- FlexPro View OEM Freeware
- Buying Guide
- Login
- Language
-
-
-
- +49 6894 929600
- infoweisang.com
- Google Maps
- Products
- News
- Support
- Company
- Contact
- Login
- Language
-
-
-
- +49 6894 929600
- infoweisang.com
- Google Maps
Universal file export
- This topic has 2 replies, 2 voices, and was last updated 10 years, 7 months ago by
Charles Hertz.
-
AuthorPosts
-
February 5, 2014 at 9:24 am #12844
Charles Hertz
ParticipantHi,
I am looking for a way to create a universal export. Whatever the current path where is located the .fpd, I would like to export a 2D curve on the current user desktop.
For the moment my VBA macro works but only for my personnal dasktop path :
ActiveDatabase.Objects(Array(“\path\name.2D”)).Export _
fpExportFormatEMF, “C:\Users\XXX\Desktop\name.emf”Does there exist a function which finds automatically the current user? Or a function which exports a .emf 2D curve on the current desktop used?
Thanks in advance.
February 5, 2014 at 9:24 am #8504Charles Hertz
ParticipantHi,
I am looking for a way to create a universal export. Whatever the current path where is located the .fpd, I would like to export a 2D curve on the current user desktop.
For the moment my VBA macro works but only for my personnal dasktop path :
ActiveDatabase.Objects(Array(“\path\name.2D”)).Export _
fpExportFormatEMF, “C:\Users\XXX\Desktop\name.emf”Does there exist a function which finds automatically the current user? Or a function which exports a .emf 2D curve on the current desktop used?
Thanks in advance.
February 6, 2014 at 8:34 am #9340Bernhard Kantz
ParticipantThe Application object has a property UserName that you can use to build your desired Desktop path like “C:\Users\” & Application.UserName & “\Desktop\name.emf”.
The ActiveDatabase.Selection may be helpful for your general export task to let the user select the desired diagrams and export them to his desktop using a user-defined button associated with your macro. -
AuthorPosts
- You must be logged in to reply to this topic.