AddToDB to true no longer prevents sketch snapping (SW2022-2024 specific)

Programming and macros
User avatar
mp3-250
Posts: 613
Joined: Tue Sep 28, 2021 4:09 am
Answers: 20
Location: Japan
x 656
x 326

AddToDB to true no longer prevents sketch snapping (SW2022-2024 specific)

Unread post by mp3-250 »

This issue is present also in SW2022 SP5 with ISketchManager::CreateCircle =) tu

BR10000374270
BR Setting ISketchManager::AddToDB to true no longer prevents sketch snapping for ISketchManager::CreateCenterRectangle.

Portfolio / Domain: SOLIDWORKS Desktop / E-Apps
Product: SOLIDWORKS API
OS: Windows 11
Detected level(s): SOLIDWORKS 2024 SP1
Platform: n/a
Description

Setting ISketchManager::AddToDB to true no longer prevents sketch snapping for ISketchManager::CreateCenterRectangle.
Workaround: Use ISldWorks::SetUserPreferenceToggle for swUserPreferenceToggle_e.swSketchInference to False.

Closure Information
This issue is reported to Dassault Systèmes development team.
User avatar
RonE
Posts: 28
Joined: Wed Nov 17, 2021 10:02 am
Answers: 3
Location: Germany
x 17
x 29

Re: AddToDB to true no longer prevents sketch snapping (SW2022-2024 specific)

Unread post by RonE »

Thanks for the heads up
Post Reply