Search the Community
Showing results for tags 'space'.
Found 6 results
Object near line
KoenE posted a topic in .NET, ObjectARX & VBAHi all, My first post on this forum after a long search... I am trying to write a VBA routine wich will return information of objects near an other object. Is there a command or code wich can help me identifying objects near a line? The objects are not always crossing the line, they might as well be parallel. Thanks
Rename Script gives me an error when it hits a space
Jayplac posted a topic in The CUI, Hatches, Linetypes, Scripts & MacrosHey there! I'm pretty new to scrpits and all programing operations of AutoCAD. I've got this super complex script that I'm trying to run and need some help debugging from one of you fine Gurus. Here it is: -rename block Bald Cypress Red Oak That's it. My problem comes from the space after the word Bald. What I believe is happening is that AutoCAD thinks that the space is an enter. What do you guys think? Is there a way around this? Simple is always good. I spent half the night last night looking for a different way to do this. A Lisp would work, I'm sure, but I don't know how to write one. Thanks!
Dashed Line is Solid in Paper Space
bachrock posted a topic in AutoCAD GeneralI drew a dashed line in model space and it appears as a solid line in paper space. What is going on?
Move objects apart by a predetermined distance
BrianTFC posted a topic in AutoLISP, Visual LISP & DCLGood Morning, I was wondering if there is a lisp routine out there that when multiple objects are selected they could be put into a straight line along the X at a predetermined space. I have attached an AutoCAD 2000 dwg to show what i'm looking for. I would appreciate any help. Thanks, Brian MOVE .dwg
Accessing objects without going to each layout tabs one by one, it is the problem.
Ahankhah posted a topic in AutoLISP, Visual LISP & DCLHi friends, how is it possible to explode all blocks in all spaces (layouts) without setting each tab current (I mean issuing (setvar 'Ctab ...)) Thanks in advance
Updating Property in Objects Definition in XREF DWGs
zetazee posted a topic in .NET, ObjectARX & VBAHi, I am developing an simulation application, leveraging on using Space objects and applied additional Property Set Definitions for Space objects where I introduced a new Property "Value". I applied a display theme to my DWG, and based on the value of the Property, different colours wil be displayed according to the display theme. For a single DWG file containing the building, I am able to simulate the colour changes by updating the “Value” Property in the Spaces using .NET APIs functions such as PropertySet.SetAt, and commiting the transasction. However, one building can consist of many different levels, and I have split up the modeling of the building into its separate levels. For example, a 3 storey building, I will have 3 DWG files for each individual levels. A main empty DWG was then used to XREF the 3 levels, to combine the different levels into a whole building. I would like to simulate such colour change through the main DWG which references my individual level DWGs. Any idea what .NET API I can use to access the XREF DWGs in my main DWG, so that I can update the "Value" property in all my Space objects?