What's new

V25 BETA API Changes

NateLiqGrav

Alibre Super User
Here is a list of API changes I have found so far in the V25 BETA
  • IADMaterial.getMaterialPropertyValue Method
  • IADDesignProperties.TreatAsPartInBOM Property
  • IADDesignSession.StartChanges Method
  • IADDesignSession.StopChanges Method
  • IADMaterialLibrary Interface and related Methods and Properties
  • IADRoot.createMaterialLibrary Method
  • IADRoot.removeMaterialLibrary Method
  • IADRoot.MaterialLibraries Property
 

simonb65

Alibre Super User
Hi Nate, some of those were included in v24. Does v25 IADDesignSession have ExportOBJ(), ExportMTL() to complement the new OBJ/MTL export that can be used to import into Blender, etc?

EDIT : Just checked and these are all available in alibreX.dll in v24.0.0.24043 !
 
Last edited:

NateLiqGrav

Alibre Super User
Hi Nate, some of those were included in v24. Does v25 IADDesignSession have ExportOBJ(), ExportMTL() to complement the new OBJ/MTL export that can be used to import into Blender, etc?

EDIT : Just checked and these are all available in alibreX.dll in v24.0.0.24043 !
Where and more importantly how are you seeing this? I don't see ExportOBJ() or ExportMTL() in V24 or V25? Unless you mean the ones I listed are already in V24 - Which perhaps just means they finally got added to the API help.
 

simonb65

Alibre Super User
Where and more importantly how are you seeing this?
Directly, using the object browser in Visual Studio. I don't think the documentation gets updated until well after release, if at all! (if previous experience is anything o go by).

Example ...

1653831965928.png
 
Last edited:

NateLiqGrav

Alibre Super User
OK, Here are the API changes I found from v24 to v25. As noted above there may be more but these are changes found in the official AlibreAPIHelp.

NEW
  • "Side-by-side Installations of Alibre Design and API"
  • IADRoot.createMaterialLibrary Method
  • IADRoot.removeMaterialLibrary Method
  • IADRoot.AppTitle Property
  • IADRoot.MaterialLibraries Property
  • IADMaterial.getMaterialPropertyValue Method
  • IADMaterialLibraries Interface with Methods and Properties
  • IADMaterialLibrary Interface with Methods and Properties
  • IADMaterialLibraryFolder Interface with Methods and Properties
  • IADMaterialLibraryFolders Interface with Methods and Properties
  • IADDesignSession.StartChanges Method
  • IADDesignSession.StopChanges Method
  • IADDesignProperties.TreatAsPartInBOM Property
  • IADPartFeatures.AddProject Method
  • IADPartFeatures.AddWrap Method
  • IADProjectFeature Interface with Methods and Properties
  • IADWrapFeature Interface with Methods and Properties
  • ADMaterialPropertyKey Enumeration
  • ADWrapFocusType Enumeration

ALTERED
  • "Add-On-Introduction" including how Alibre locates the add-on using the registy.
  • ADObjectType Enumeration
  • CustomError Enumeration
  • ADLoftGuideType Enumeration
  • ADPartFeatureType Enumeration
 

simonb65

Alibre Super User
As mentioned earlier, some/most of these are already in v24. It's good that the doco has finally caught up though :)
 

bolsover

Member
Something is slightly adrift with the V25 API documentation...
The installed AlibreX.dll is at version 25.0.0.25033
The API documentation is at version 26.0.0.26004
db
 

DavidJ

Alibre Super User
Staff member
Something is slightly adrift with the V25 API documentation...
The installed AlibreX.dll is at version 25.0.0.25033
The API documentation is at version 26.0.0.26004
db
This is a reflection of the machine that the API Help was produced on - but should not be a problem beyond perhaps being slightly puzzling. There have been internal v26 builds for some time, primarily to allow testing of side-by-side installation with v25.
 
Top