Issue with database connection when using borrowed license i Autocad

Solution for Issue: Elmaster Design Not Establishing Database Connection 

Introduction 

When AutoCAD runs with a borrowed license, a popup can disrupt initialization, affecting the Ides CAD-driver COM-server and causing the application to switch to standalone mode. 

Problem definition

The popup that appears when the AutoCAD license is borrowed prevents proper initialization, causing the COM-server not to load in a timely manner, and the driver fails to connect to the database. 

Solution 

Run the MCSTARTUP command manually: 

  1. Once all components have loaded, open the command prompt in AutoCAD. 
  2. Execute MCSTARTUP to initiate the connection. 

Preventive Measures 

  • Manage AutoCAD licenses. Avoid borrowing licenses if possible. 

Summary 

To resolve the issue, manually run MCSTARTUP after AutoCAD/MasterDesign has fully loaded.

Check the license configuration and avoid borrowing licenses to prevent the problem. 

References and Resources 

Sort multiple columns

Have you ever been sorting columns over and over in reverse order to in the end get the grid sorted by multiple columns? Occasionally one has a sorting and want to freeze the current sorting and apply a second subsorting. 

Hold down Shift and click on the additional columns you want to sort, and they will be sorted in order from most significant, second, third and so on. 

Objects ordered by Byggnadsplacering, Processfunktion

Ctrl + Shift + K 

This command can be used in grids and will perform the following actions. All fields/columns without any data are hidden. The width of shown fields is set to best fit, adjusted according to the widest data. 

Example scenario: Empty cells marked with pink. Unless we were inspecting of those specific fields were empty or not the view give us little information. Are all fields to the right empty? Are all rows below empty? 

Notice the size of the scroll bar. It is representative of how much data is shown out of the data loaded to the grid. When using the shortcut Ctrl+Shift+K the grid focuses on the non-empty cells. 

Fill upp

Hold Ctrl to access Fill up 

By holding Ctrl as modifier when opening the right click menu Fill down is replaced by Fill up. 

Could come in handy when filling large amounts of ordered data and want to use a fill series without having to scroll to the top between each filling.  

Invalid Class String

Introduction

When the process is being run with administrative privileges the user is unable to get Elmaster Design started properly.

Symptoms

Error messages at start of Design that says Failed to load Master Concept dlls and invalid class string.

Cause

To make it possible/easier to switch between parallel installed versions resources are registered during the initialization of the application. The registration is done for the user who is logged in.

If the application is run by another account – even if that account has high privileges – the part of the registry being used is not the same as where the references to the resources have been set up.

It is a limitation that the acad.exe process about to load Elmaster Design must be run by the logged in user.

Confirmation

To confirm if processes you initiate are being run by your logged on username one can often determine by opening a command prompt and looking at its title bar if it says administrator or not.

Another way to determine if you have this problem is by looking at the acad.exe process via Task Manager. Go to the information pane and select the columns to show via the context menu on the column headers. Choose to show elevated privileges. If your acad.exe process is running with elevated privileges that means it is being run as the administrator account.

Solution

If you are using the context menu on the icon and Run as Administrator – don’t.

Instead run in normal mode by clicking on the icon in start menu och double click on the desktop icon to start Elmaster Design.

Usually, this problem occurs when the user temporarily gains elevated privileges to install new software. Via policy or similar management, the processes initiated by the user are impersonated and run by the administrator account for the duration of the installation period. If that is the case, let whoever gave you the elevated privileges know when you are done. When impersonation ceases, the problem ceases.

Preventive measures

Avoid running the acad.exe processes as administrator. Run it as your logged on user.

If users are temporarily given local administrative privileges for installing software, it is advisable to plan ahead and schedule the installation at a time when the user is not supposed to be productive using Elmaster Design.

Also available in format for download and attachment: Invalid Class String.docx

Problem vid lånad Autocad-licens

Problembeskrivning

Hanteringen kring påminnelse om lånad licens har förändrats och ställer till bekymmer vid initieringen.

Förutsättningar (samtliga behöver vara uppfyllda)

  • Autocad 2020 eller nyare.
  • Autocad är konfigurerad med licensieringsmodell nätverkslicens.
  • Användaren har låntat en licens från licenspoolen.
  • Ritning öppnas från MasterExplorer.

Lösning

Ingen lösning tillgänglig. Ärende har upprättats till Autodesk.

Kringgå problemet

  • I nyare versioner pushar Autodesk för att man ska gå över till namngivna single-licenser via accounts.autodesk.com och används den licensmodellen undviks problemet.
  • Äldre versioner av Autocad 2018, 2019 fungerar problemfritt med lånad licens.
  • Vid användning av MasterExplorer är användaren vanligen uppkopplad direkt eller via vpn i företagets nätverk. Troligen behövs inte lån av licens för Autocad. Med kommandot RETURNLICENSE kan man återlämna en lånad nätverkslicens innan förfallodatum för lånet.

Bricscad

Följande beskrivning utgår från elMaster Design / Master Concept 20.0 tillsammans med BricsCAD v21.

Äldre mallar och symboler

Äldre mallar och symboler kan innehålla skräpdata som hanteras i Autocad men som ger problem när BricsCAD används. För att undvika att det ställer till problem finns det uppdaterade versioner av mallar och symboler att ladda ner.
Vid nyinstallation med installation av filserver kan dessa användas utan uppdatering.

Om det finns befintliga egna mallar och symboler som ska användas tillsammans med Bricscad öppna dessa dwg/dwt:er i Autocad och kör kommandot:
AUDIT
Spara sedan mallen/symbolen så ska eventuella felaktigheter rättas till och det ska gå att använda tillsammans med BricCAD. Är det många mallar och symboler finns en färdig lisp som går att använda i Designs batchfunktion.

För nedladdningslänkar se längre ner.

elMaster Design tillsammans med BricsCAD

Genom att editera genvägen för elMaster Design går det att styra vilken cadmjukvara som ska starta, BricsCAD eller Autocad.

Som standard kommer Autocad alltid startas även om BricsCAD är installerad, är enbart BricsCAD installerad kommer den att startas direkt.

Är både Autocad och bricsCAD installerade går det bra att kopiera startikonen och skapa en för BricsCAD. Högerklicka på startikonen för elMaster Design och välj Egenskaper.

I rutan för Mål, lägg till en växel. /bricscad för att starta BricsCAD.

Master Concept tillsammans med BricsCAD

För att kunna öppna dwg-filer med BricsCAD från Master Explorer krävs det att det finns en dokumentstart som har BricsCAD som Applikation och Extern applikation. För Design-filer ska BricsCAD anges som Extern applikation och som Applikation ska resp Designstart anges. Se bild för exempel.

Nedladdningar

20.0, Important changes

  • Role Modules – Read only removed
    We have reworked and removed the use of “Read Only” modules. The read only modules replaced by “Read Access” modules and Edit.
  • Rework in the Data tab for objects
    Article and Individual have moved out to own tabs, and some other smaller fixes to clear up the data for objects
  • Software Requirements changes client
    • Microsoft.Net Framework version 4.8
    • Oracle Client, Oracle Database 19c Client
  • Software Requirements changes server
    • Oracle version 18c XE
    • Oracle version 19c

Current Releases

– Master Concept 19.1.9 (Version: 19.1.9.15)

– Master Concept 17.2.5 (Version: 17.2.5.3)

– Master Concept 16.2.8 (Version: 16.2.8.0)

Getting in contact with support

As the holidays are closing in we would like to give you a few reminders.

Our offices are closed during public holidays as well as de facto holidays in Sweden; December 24, December 25, December 26, December 31, January 1, January 6.

The first choice when trying to get in contact with support should be using our common support details as found at www.ides.se/support. For matters that are more than a short question we prefer that you raise a case via customer.idesglobal.com.

Manning may be reduced on working days between holidays. The support is covered during our opening hours but individuals might be out of office, on vacation or sick. Support requests that are sent to specific personnel can not be expected to be read until that person is back on duty.