What's new

API Samples

Status
Not open for further replies.
This thread is out of date! Please refer to this thread for API Samples: viewtopic.php?f=13&t=8186


You can download various API sample projects from this section. The sample projects are created both in Visual C++ as well as Visual Basic, so that you can use any of these depending on the language of your choice.

New sample projects will be added to this section in future. As and when we upload these, we will keep you posted in the announcement section.
 
Visual Basic

VB Samples

To view the code in the projects samples you need to have Visual Basic 6.0 installed on your machine.

For each sample:
(1) Please download the corresponding zip file on your machine.
(2) Extract the contents of the file in a folder.
(3) Open the ReadMe file to get more details about the project.
 

Attachments

  • PhysicalProperties.zip
    9.9 KB · Views: 34
  • PartInsertAndAssemblySave.zip
    10.3 KB · Views: 40
  • GeometryAndTopologyQuery.zip
    31.9 KB · Views: 36
  • RepositoryQuery.zip
    11.4 KB · Views: 28
Visual C++

VC++ Samples

To view the code in the projects samples you need to have Visual C++ 6.0 installed on your machine.

For each sample:
(1) Please download the corresponding zip file on your machine.
(2) Extract the contents of the file in a folder.
(3) Open the ReadMe file to get more details about the project.

NOTE:

Before building the project,

1. Uncomment following statements in stdafx.h in the project workspace:

#import "AlibreX.dll"
using namespace AlibreX;

2. Include the full path of the AlibreX.dll on your local machine. You can find AlibreX.dll under \\Alibre Design\\Program\\.

So for example if you have installed Alibre under C:\\Program Files, then the import statement in stdafx.h will look like-

#import "C:\\Program Files\\Alibre Design\\Program\\AlibreX.dll"
 

Attachments

  • PhysicalProperties.zip
    38.3 KB · Views: 36
  • RepositoryQuery.zip
    32.5 KB · Views: 29
  • GeometryAndTopologyQuery.zip
    53.1 KB · Views: 13
  • PartInsertAssemblySave.zip
    32.9 KB · Views: 16
Status
Not open for further replies.
Top