Recent Posts

Pages: [1] 2 3 ... 10
1
When I was wrapping BrxCvCivil3d for python, I noticed a converter class, I haven't tried it yet

Code - C++: [Select]
  1. void makePyBrxCvCivil3dConverterWrapper()
  2. {
  3.     PyDocString DS("CvCivil3dConverter");
  4.     class_<PyBrxCvCivil3dConverter>("CvCivil3dConverter")
  5.         .def(init<>())
  6.         .def(init<const PyDbDatabase&, PyDbDatabase&, BrxCvCivil3dConverter::Civil3dLabels>(DS.CTOR(ctor)))
  7.         .def("getCivilEntities", &PyBrxCvCivil3dConverter::getCivilEntities, DS.ARGS())
  8.         .def("convert", &PyBrxCvCivil3dConverter::convert, DS.ARGS({ "entitiesToConvert : list" }))
  9.         .def("attachedLabels", &PyBrxCvCivil3dConverter::attachedLabels, DS.ARGS({ "civilEntity: PyBrxCv.CvCivil3dEntityInfo" }))
  10.         .def("unattachedLabels", &PyBrxCvCivil3dConverter::unattachedLabels, DS.ARGS())
  11.         .def("getInsertedEntities", &PyBrxCvCivil3dConverter::getInsertedEntities, DS.ARGS())
  12.         .def("className", &PyBrxCvCivil3dConverter::className, DS.SARGS()).staticmethod("className")
  13.         ;
  14. }
  15.  
It’s probably available in BRX, .NET too. Not sure about lisp, i'm sure there's a command
2
AutoLISP (Vanilla / Visual) / Re: Multiple pause
« Last post by BIGAL on Today at 10:00:36 PM »
Should you be using SSGET filters ? Or are you asking about SSGET "W" "F" "CP" etc. Not sure why you would need pauses, you can do multiple SSGET and use SSADD to make a final selection set. Say select blocks then select plines using filters.

We are guessing. More detail needed.
3
If I remember correctly, the property set can be found but using a particular CIV3D DLL not sure if Bricscad has the same function. I would join the Bricscad forum they are very helpful and actual Bricscad staff respond at times or put in a support request, again they do answer back.
4
AutoLISP (Vanilla / Visual) / Re: Select all layer change to single layer
« Last post by BIGAL on Today at 09:52:34 PM »
This is posted else where and the additional request was don't change "Light Furniture" I think it was Forums/autodesk. Also change all nested blocks.

A nuisance when posted at multiple forums.
5
AutoLISP (Vanilla / Visual) / Re: Multiple pause
« Last post by Lee Mac on Today at 05:56:11 PM »
You can issue the pause in a loop in which the test expression checks whether the command remains active, e.g.:
Code - Auto/Visual Lisp: [Select]
  1. (command "_.pline")
  2. (while (= 1 (logand 1 (getvar 'cmdactive))) (command "\\"))

However, for retrieval of a selection this should not be necessary, as you can simply use (ssget)
6
AutoLISP (Vanilla / Visual) / Solid to surface
« Last post by Amarulu on Today at 02:58:58 PM »
Hi,

Question, is there a direct procedure to get a surface form a solid but the obtained surface shall be in the centre of the solid? In. example for a bracket generated as a solid shall be a surface only showing the bracket shape but with the thickness =0.
7
AutoLISP (Vanilla / Visual) / Multiple pause
« Last post by w64bit on Today at 01:15:25 PM »
Is there any way to add multiple pause, which should work until I click enter (used when select)?
I am using now 20-30 pause words to cover all situations.
8
Trying to learn and migrate to BricsCAD, but have not many documentation.
9
AutoLISP (Vanilla / Visual) / Re: Select all layer change to single layer
« Last post by ribarm on Today at 02:55:59 AM »
@Maystogan,
You have "LAYMRG" command... When Dialog Box pops up, you select all layers to merge, then hit enter, then choose "N" - name to merge layers to - I choose here "0" layer when another Dialog Box pops up... That's all...
In your case after merging to "0" layer, you should create "XR" layer and merge "0" with "XR", or create "XR" layer and simply select "ALL" and change layer property of all entities from "0" to "XR" layer...
10
AutoLISP (Vanilla / Visual) / Select all layer change to single layer
« Last post by Mystogan on May 21, 2024, 09:46:03 PM »
Hi to all,

 

I hope you can assist me in creating a Lisp routine that will systematically change all elements in the architectural layer within the drawing file to the XR layer and set their color to 252. This includes all entities such as blocks, text, etc.; everything must be moved to the XR layer.

 

The drawing should be purged afterward to remove any unused elements. The only exception to this change are the lighting fixtures, which the Lisp routine should prompt the user to specify.

 

I've attached the drawing file in AutoCAD 2018 format for your reference.

 

Thank you in advance for your assistance.

 

Thank you in advance for your assistance.
Pages: [1] 2 3 ... 10