검색

2D 도면3D 모델링BIM Mechanical

CAD Managers’ Corner – BricsCAD® Network Installation Mechanics – Part 2

By The Bricsys Team 5 min 2019년 10월 6일
Network Installation Mechanics – Part 2

In our Part 1, we talked about automating the installation of BricsCAD using a variety of
command line switches to assist in deploying large quantities of seats. Yet installing the
software is only part of the startup effort since you’ll certainly want to have a standardized
profile that is customized to your unique environment. The good news here is that
BricsCAD makes the process easy if you know a few key pieces of information.

In this installment, we’ll explore how you can use a little bit of AutoLISP code and profile
(ARG) files to get BricsCAD setup perfectly for your users from the very first time they
start the software.

The Concept

Like most any computer program, BricsCAD needs to be configured to operate in your
specific environment. These configuration parameters can be loosely categorized as
follows:

Files and folders. Where files are stored, where to find various device drivers, folders to trust, font locations, etc.

Drivers and devices. Printers/plotters or PDF utilities to print to, device calibration and page setup files, etc.

Variables. A universe of settings that defines everything from dimension styles, to text styles, to DGN translation parameters, cursor settings, etc.

Once you have a single machine setup to your liking, all these parameters may be bulk
exported to a profile (ARG) file that can be subsequently imported into other user’s
machines so that the setup of all machines can be consistent.

Note: If you’re familiar with managing AutoCAD-based tools, you’ll find BricsCAD very, very
similar.

Create the Profile and Export It

Now your challenge is to get BricsCAD all set up the way you’d like your users to run it.
Take whatever time you need to get your test machine perfectly setup before you proceed
to the next steps. After you’ve done your homework here are the steps to follow:

  1. In BricsCAD key in PROFILEMANAGER at the command line and click the CREATE button to create a new profile.
    null

  2. Enter the name and notes for the profile and click the OK button.
    null

  3. Set the new profile to current and test for proper operation of the system.
    null

  4. Assuming everything is working properly, key in PROFILEMANAGER at the command line again then click the EXPORT button.
    null

  5. Save the profile to a network location that will be available to all machines you’ll wish to setup later. (Note: I like to use the installation files directory where I keep installer files and batch procedures for consistency.)
    null

Now you’re ready to start importing profiles to the user machines.

Setting Up to Import

When BricsCAD starts up it automatically looks for an AutoLISP file called ON_START.LSP and executes any code it finds in the file. This automatic load/execute behavior can be used to your advantage to automatically load a profile and set it current if you know the code to do it. Here is that code:

    (vl-load-com) 
    ; Load LISP ActiveX support and set some useful variables

    (setq profile_name "Custom Profile") 
    ; set the profile name here   
    (setq profile_import "O:\\BricsCAD v21 Installation Files\\Custom Profile.arg")
    ; point to your ARG file here, note double \\
    (setq proprefs 
    ; gets all profiles from BricsCAD 
      (vla-get-profiles 
(vla-get-preferences
  (vlax-get-acad-object))))</br>
(vla-getallprofilenames proprefs 'namesarray)     
; obtain all valid profiles
(setq names (vlax-safearray->list namesarray))  
; create a NAMES variable to search 
(if (not (member profile_name names))               
; check if your profile is already loaded
(progn
(vla-importprofile proprefs profile_name profile_import :vlax-true) ; if not already there, load profile
(vla-put-ActiveProfile                                                                               
    ; make the profile active
  (vla-get-Profiles 
    (vla-get-Preferences 
      (vlax-get-acad-object)
    )
  ) 
  profile_name
) ; set it current
)
)

There are a few things to mention about the code I’ve constructed:

  1. I assume you’re comfortable with using a programmer’s editor. Notepad will work just fine for this task if you like.
  2. This is not casual AutoLISP code nor is it a novice project. I’ve used several ActiveX controls to access the BricsCAD application environment and the syntax for this program is extremely specific.
  3. Your names and paths will vary. Be sure you input your precise ARG file name and path and that you get the exact profile name.
  4. Everything matters syntactically. All spaces, \, “ marks and parenthesis do indeed matter.
  5. You won’t scuttle your system if you mess up. The program may look like dangerous work, but it won’t do any harm if it doesn’t run correctly so feel free to keep trying until it works.

Testing it Out

Now all you have to do is place the ON_START.LSP file in BricsCAD’s support directory – you can find this using the SETTINGS command and looking under Program Options / Files.

null

Now simply exit BricsCAD and restart and the CUSTOM PROFILE will load in and set itself to current. That’s it!

And if it doesn’t work look at the command screen – you can find this by hitting F2 – and see what sort of error messages you receive to assist you in finding the error in your code.

Next Steps

Now that BricsCAD is installed and you’ve got it working the way you want with a default custom profile, you’re off to a great start.

If you take a little time to make this work in your environment, you’ll be rewarded with a consistent BricsCAD installation that takes very little time to setup. But wait – here’s the bonus – you’ll also have a basis for further controlling and customizing BricsCAD in your network environment. And that’s the topic we cover in the additional blog posts.

Ready to try BricsCAD?

Easy to try, easy to buy, easy to own. That’s BricsCAD. Try all of our products, for free for 30 days at www.bricsys.com. Freedom of choice, plus perpetual (permanent) product licenses that work with all languages, in all places. You’ll love what we’ve built for you with the BricsCAD V21 product family.

2024년 9월 17일 3 min

브릭스캐드에서 선 유형 사용자 지정

BricsCAD에서 사용자 지정 선 유형을 만들면 도면의 디테일과 선명도를 크게 향상시킬 수 있습니다. 복잡한 엔지니어링 계획이든 단순한 레이아웃 디자인이든, 자신만의 라인 유형을 만드는 방법을 이해하면 프로젝트에 전문성을 부여할 수 있습니다. 이 단계별 가이드를 따라 BricsCAD에서 간단한 선 유형과 복잡한 선 유형을 만드는 방법을 배우세요.

2024년 9월 10일 2 min

토목 및 측량 워크플로우를 위한 BricsCAD 파트너 앱

브릭시스는 전문 측량 및 토목 앱 개발자가 BricsCAD 사용자에게 강력하고 효율적인 워크플로우를 제공하는 전문 토목 및 측량 도구를 개발할 수 있도록 탄탄한 기반을 제공합니다. 다양한 개발자 파트너가 BricsCAD V24의 토목 및 측량 워크플로우를 보완하기 위해 어떤 업데이트와 개선 사항을 적용했는지 살펴보세요.

이러한 토목 및 측량 애플리케이션은 BricsCAD에서 지원하는 여러 타사 애플리케이션 중 하나이며, 개발자들은 기능을 개선하고 매 릴리스마다 도입되는 새로운 기능에 발맞추기 위해 노력하고 있습니다.

2024년 9월 9일 3 min

Bricsys 24/7®와 함께 건설 산업에서 디지털 변혁 수용하기

건설 산업은 지속적으로 발전하고 있으며, 디지털 혁신은 팀이 프로젝트를 관리하고 소통하며 프로젝트 문서를 처리하는 방식을 재편하고 있습니다. 건설 프로젝트를 위한 디지털 솔루션을 수용할 때, Bricsys 24/7와 같은 공통 데이터 환경(CDE)은 훌륭한 출발점입니다.. 업계 전반적으로 디지털 도입 수준에 큰 차이가 있는 상황에서 디지털 도구를 수용하고 활용하면 운영 효율성을 높이고 프로젝트 성과를 개선하여 차별화할 수 있습니다.

소셜 미디어에서 팔로우하기