What's new

Search results

  1. L

    Announcing- Integration of Native Alibre Files in Mecway!

    Hello @tyc, Mecway developer here. It opens the AD_PRT/AD_ASM files from disk rather than in the running session of Alibre, so you would save in Alibre and can then click Reload or remesh it in Mecway. Also, hello again @stepalibre ! You were a helpful part of getting this working despite my...
  2. L

    Publishing Alibre powered software and Integrations in an open source way.

    Fully agree. It's just there are use cases where self-contained doesn't work and at least we have appdata instead of applications sprinkling .ini files all over the place, even in the root directory.
  3. L

    Publishing Alibre powered software and Integrations in an open source way.

    Yea, I wouldn't use the registry by choice. Even in Windows, applications aren't supposed to store their settings there. But it seems to have a place for this kind of "where even is it?" problems.
  4. L

    Publishing Alibre powered software and Integrations in an open source way.

    Looks like finding it through the registry as @NateLiquidGravity suggested will be ideal, along with loading AlibreX.dll from there instead of distributing it myself or copying it to my application's directory.
  5. L

    Publishing Alibre powered software and Integrations in an open source way.

    Then they have to choose both the version and the location it's installed at which seems redundant. Also, if they pick the wrong one, it'll crash. I was hoping to get this information from the registry or somewhere. Maybe an easier way for the user is they choose the install location of Alibre...
  6. L

    Publishing Alibre powered software and Integrations in an open source way.

    None of these solutions are suitable in my case. I'll just stick to requiring a specific version of Alibre for now and distributing AlibreX.dll with it so the only complicated part for the user will be running RegisterCOMdlls.BAT. It's still a bit scary because if they try to use the wrong...
  7. L

    Publishing Alibre powered software and Integrations in an open source way.

    So you get the install folder from the user at install time rather than the registry at runtime? I don't really want to make the user decide anything to do with Alibre when installing because most of them won't be using it anyway and even then, they won't be able to change it later without...
  8. L

    Publishing Alibre powered software and Integrations in an open source way.

    How else can you control Alibre from another application besides COM? I'm using COM and need to run RegisterCOMdlls.BAT. For now, it looks like I'll have to make my application only compatible with a single version of Alibre. AlibreX.dll has to be the same version as the one that has its COM...
  9. L

    Publishing Alibre powered software and Integrations in an open source way.

    I'm working on a separate application that interfaces with Alibre using AlibreX.dll. Not sure if that's technically an add-on or not. I can't use AlibreRoot.Version because I don't know where Alibre's copy of AlibreX.dll is. If I use my own copy, it returns the wrong value. Maybe I should ask...
  10. L

    Publishing Alibre powered software and Integrations in an open source way.

    Could you give more details on this? Is a registry key for install location documented somewhere or we just discover it by exploring and it's fairly stable? Until today, I had assumed I could distribute AlibreX with my application and it would work on all/most versions but it turns out if you...
  11. L

    Exporting part as STEP AP 242

    Yea but at least it's there. It works fine according to all my tests.
  12. L

    Exporting part as STEP AP 242

    Version 28.0.0.2809 now includes ExportAP242()!
  13. L

    Can't get suppressed sub-sub-assemblies.

    In my case false positive is less bad than false negative. Thanks for all the help you provide! I don't know how anybody could find out all these little details otherwise.
  14. L

    Can't get suppressed sub-sub-assemblies.

    Na, I was just looking for a catch-all for any possible change even if it had some false positives. Checking the files themselves would be the safest way since nothing can change if the files aren't changed.
  15. L

    Can't get suppressed sub-sub-assemblies.

    Oh that's good news. I don't think the API can open packages anyway, at least as I remember it, so nobody would probably be using those with my application. Nonetheless, I've already abandoned the idea of checking for missing files. It's a fairly unlikely event anyway and I think people will...
  16. L

    Can't get suppressed sub-sub-assemblies.

    The specific case that I found was this assembly https://s3-us-west-1.amazonaws.com/alibre-usa/SampleModels/0_Alibre_Wankel_Airplane_Engine.AD_PKG If you extract it then open it with the API, the constituentfilepaths are wrong and look like they're from the computer that previously saved it. So...
  17. L

    Can't get suppressed sub-sub-assemblies.

    > This is related to session data not reflecting data on disk. You'll need to ensure assemblies and parts are properly saved and regen/updated before any code is run on those files. Ah, so I have to save it before using ConstituentFilePaths. I'd rather not because I don't want my application...
  18. L

    Can't get suppressed sub-sub-assemblies.

    I don't know how. If I open an assembly with the API and it has missing subassemblies or parts, the only way I know to detect that is if they're in ConstituentFilePaths but not on disk. However, since the path part of those filenames is unreliable, I might have to do a risky and expensive search...
  19. L

    Can't get suppressed sub-sub-assemblies.

    I don't think that'll work safely because sometimes the paths in ConstituentFilePaths aren't the actual locations of the files. Maybe they're where the files used to be when the assembly was saved or something.
  20. L

    Can't get suppressed sub-sub-assemblies.

    Yea, I realize multiple occurences of the same part only appear once in ConstituentPaths(). But the problem here is that there's a file in ConstituentPaths() (two blocks's AD_ASM file) which doesn't exist in any of the occurrences at any level in the tree. I'm trying to detect if an assembly...
Top