Search found 8 matches

by AmenJlili
Wed Mar 20, 2024 1:37 am
Forum: API
Topic: SOLIDWORKS API Developer - Contract Work
Replies: 1
Views: 1156

SOLIDWORKS API Developer - Contract Work

As part of our exciting growth trajectory, Blue Byte Systems Inc. is seeking to bolster our team by inviting a skilled SOLIDWORKS API developer to join us on a contract basis. Non-negotiables: Proven proficiency with the SOLIDWORKS API. Extensive experience in developing C# Winforms applications usi...
by AmenJlili
Fri Jan 26, 2024 12:52 pm
Forum: CAD Agnostic
Topic: Solidworks Knowledge Base - Website
Replies: 1
Views: 1623

Re: Solidworks Knowledge Base - Website

Thank you! We're trying to build the API community there and share as much knowledge as possible. The website has been growing organically.
by AmenJlili
Fri Dec 08, 2023 7:31 pm
Forum: API
Topic: Beautiful dimensions of width and height on Boundary Box Sketch in the drawing view of Flat-pattern
Replies: 1
Views: 1268

Re: Beautiful dimensions of width and height on Boundary Box Sketch in the drawing view of Flat-pattern

Maybe I'm reading too much into but you need to get the extreme points first of the flat pattern body and transform those to the coordinate system of the view from in the drawing. From there you can select the vertices and add the dimension. There are two settings in the display dimension where you ...
by AmenJlili
Tue Dec 05, 2023 12:49 pm
Forum: API
Topic: Solidworks PDM API - add new folder
Replies: 3
Views: 1680

Re: Solidworks PDM API - add new folder

That is not correct. You can use the PDM API from VBA. To create a folder, you can use CreateFolderPath or AddFolder. Both are methods of the IEdmFolder5 interface. You can get a starting folder by using the RootFolder property of the EdmVault5 object. Here's a simple example: Dim swApp As Object S...
by AmenJlili
Thu Nov 30, 2023 5:40 pm
Forum: API
Topic: Testing custom PDM task
Replies: 3
Views: 1372

Re: Testing custom PDM task

You cannot debug the task hooks using the debug add-in option from the administration tool, unfortunately. Even hooking into the host process is very annoying. We have a unit and integration testing framework for task add-ins : https://bluebyte.biz/product/orca-unit- ... m-add-ins/
by AmenJlili
Thu Nov 30, 2023 5:36 pm
Forum: API
Topic: How do I know that you are FLAT-PATTERN?
Replies: 23
Views: 6859

Re: How do I know that you are FLAT-PATTERN?

There are many ways to go about this but not one ultimate way.

How about just checking if the derived configuration has a parent configuration and if it has some sheet metal bodies in the feature tree?

Amen
Blue Byte Systems Inc.
cadoverflow.com
by AmenJlili
Thu Nov 30, 2023 5:33 pm
Forum: API
Topic: PDM, ChangeState2 and 3 methods, Where to get password?
Replies: 3
Views: 1634

Re: PDM, ChangeState2 and 3 methods, Where to get password?

User is already logged in and I do not want to enter password again. Help says, ChangeState2 added functionality of requiring the password of logged in user. I can only assume as a security measure so the programmer can show a dialog requiring the user to enter their password again. If I don't need...
by AmenJlili
Thu Nov 30, 2023 5:28 pm
Forum: API
Topic: PDM add-in saving shared settings
Replies: 2
Views: 1085

Re: PDM add-in saving shared settings

Yea. Use a dictionary. Some thoughtful ideas from a seasoned developer. - Save your settings or options data to a dictionary. - Make sure the dictionary name is unique. I'd use the add-in name. - Control who can use EdmMenu_Administration to ensure only users with EditAddIns permission can access th...