I need a way to count blocks (specifically employees on a production line), and I used to use a "count" lisp command that worked great. I'm thinking that lisp doesn't work in LT. I don't use Acad every day anymore, and I am quickly forgetting many commands and tricks.
I created a number of 3D blocks to be inserted into a 3D model of a building. I created the blocks in a separate drawing first; i defined them locally, then, when i had them the way i wanted them, I used "wblock" to save all of these blocks to a folder.
I then opened the 3D building model and tried to insert one of my new blocks. I repeatedly get the following:
I have tried repairing my installation of autocad with no improvement.
i tried opening the drawing of the block itself, copying it, and pasting it via the "copybase" command into the other drawing with the same result.
Occasionally, autocad will ask me if i'd like to debug the program (and visual studio opens) -- it mentions a "StackOverflowException" within acad.exe, and also mentioned "windowsbase.dll".
I am using windows 7 pro x64 and autocad 2011.
CPU: intel i7
Graphics: NVidia GeForce GTS 250
8GB DDR3 ram
The autocad error-reporting dialog never gets launched as it is forced to close before this point.
Is it better to implement the title block of an electrical drawing in the model space or paper space? I have a co worker who implements it in the model space as shown below. On the other hand, I was taught to implement it in the paper space and then bring in the drawing via viewport.
Untill recently I have been able to edit my blocks or xref files in place. Now when I try do that CAD tells me to select nested item. Is this a setting a changed by mistake? If so what is it?
I suppose it's a bug, and I wonder how can it be fixed:
If you edit attribute settings in a dynamic block, and put:
Constant: yes
Lock position: no
You can't neither change the position in the Model, nor edit text. I suppose that with this two settings selected the way showed above, one should be able to move the attribute in Model space.
Since collections like for example the LayerTable have no Count property (as far as I can see, that is), I'm doing the following to get at the number of items:
Dim LayerCount as integer = 0
For Each Id as ObjectId in SomeLayerTable LayerCount +=1 Next
Is this the right way to do it, or is there a more efficient way?
I can find which images are attached to my current drawing with the following code. However, I don't know how to find out how many times they are attached.
Using tr As Transaction = db.TransactionManager.StartTransactionTryDim nod As DBDictionaryDim imageDict As DBDictionaryConsole.WriteLine("Getting ACAD_IMAGE_DICT DB dictionary")nod = CType(tr.GetObject(db.NamedObjectsDictionaryId, OpenMode.ForRead, False), DBDictionary)imageDict =
I need to insert a table in paperspace tab that will continually count up blocks within a set area of model space ( i need to have 3 counts, 1 for each floor of a house i.e one table per tab for that floors blocks). I have used BCOUNT and DATAEXTRACTION but they only count it once and if i add more of a certain block it does not update the table.
In plantation design, especially for ground covers that spread across an area, I have to distinguish each plant by hatch pattern. so they're hatched(due to the twisting shapes, with oh so much pain), and the problem comes in when counting area of each plant. Mind there are altogether hundreds of hatch objects to be counted and sorted into dozens of plant types.
I had counted on data exporting, but then i find that hundreds of hatches simply don't have the area attribute. not a surprise, since hatching process was already problematic enough with the borders.
So I figured the quickest way would be to identify those without this attribute and try to fix up their borders. but you can't identify them from a data table, not without the handle number. you can't quickselect by absent attributes either. I'm completed at a dead end now.
I know there's the manual way.. but do I really have to spot those hundreds and process their borders one by one?
here's part of the problematic plan: some of the faulty hatch is colored red, but there are many more hidden in plain sight.
I'm trying to count blocks from someone elses drawings. If you double click the blocks and 'edit attributes' appears.
I have tried using the command BCOUNT and EATTEXT but it displays unknown command for each. Is it a case that you can't use these commands on 2009 LT, or perhaps it's just not possible to do it on the blocks the way I have descirbed them.
I would like to count all my parts in the main assembly and assign that amount to each part.
Example: Main assembly has: 10 Parts A and 5 Parts B. I would like to run a rule that "sends" that "10" to Part A.ipt and the "5" to Part B.ipt
I would like to assign it to iProperties.Status.Status. I start to understand iLogic more and more but it is nice to get a little boost in the right direction.
Is it possible to count blocks in either the model space or in each layout? Would be very useful for fire alarm design, cause authorities require exact counts of devices.
Is there a routine that I could use to count the blocks that are in a closed polyline? The blocks may have or not one or more attributes.
In a previous session I saw a routine which was counting the blocks which had attributes in them, but it doesn't really work, because some of the blocks dont have attributes.
Also is there a routine that counts the different texts that are in the same polyline?
I am investigating the use of Photoshop to count discreet objects in a complex image. The various selection tools do a good job of automatically selecting the objects, which do not overlap, but I cannot find a count of the number. I'm using PHE 7. Does the facility exist in this version?
I want to count objects in a photo, by marking them (with a dot or something similar) so I know what I've already counted, and then be easily able to tell how many objects there are in the photo. Is there a way to do this in Corel Draw? I'll be counting hundreds of images so it needs to be a fairly quick method of marking each one.
I Have a clip which has numerous people coming out of a stretched limousine. The filming was set up for fun whereby we had about 50 people going in through one door but the camera was set up on the exit door.
How can I use the titles where I have a counting title on screen, adding up the total number of people exiting the limo?
I'm thinking along the lines of a car odometer where you see the mileage wheel rotating.
I'm trying to make thumbnails for video's for youtube. So my idea is that the nr 1 is on thumbnail 1, then on the thumbnail for the second video, it says 2, etc. But every time i have to delete the number and write a new one. Is there a way of doing that automatically? so that it just makes p.e. 10 thumbnails, with numbers from 1-10?
I have been using GIMP to count the number of birds in a colony by putting a round spot on each bird using the airbrush tool. This works fine as I can size the spot to suit and alter the opacity to leave some detail. But I need to be able to count the number of spots! This should only count the spots and not every time I adjust the viewable part of the photo to keep spotting! An addon to the GIMP program would be wonderful.
I have some simple images with 5-10 different colors in them. I wanted to be able to count the number of pixels of each color in each image and compare the results.
how to get the counting of RGB objects, CMYK Objects and Grayscale Objects information for illustrator vector(editable) file via script for windows.
In illustrator raster image file i need to know how to get the Embedded image information(CMYK or RGB or Grayscale) via script for windows. I collect these infomation manually from "Windows->Document info". I saved the "Document Info" details in illustrator manually using "Document Info Pannel".
Is there a quick and easy way to get the total number of layers in a photoshop document? I've searched high and low, and everything I've found involves scripting, which I haven't gotten into - and don't really want to spend much time on this.
I have a method for converting a black and white image into instructions for folding a book into the image (URL...). To do this I count filled pixels by column if a zoomed in image. Is there a way to generate a count of filled and unfilled spaces in an image. This would speed up one of the more tedious parts of the process.
I want to loop a code / function .. let's say 100 times and each time one parameter or variable is counted up.I found "for"-loops and some with a counter.. but I coudn't get it to work in Edge Animate.Here is a fragment of the code I want to loop ->
$.get("URL...+Num, {}, function(ask, code) { switch(ask) { case '9': sym.$("leaf"+Num).show(); var leaf = sym.$("leaf"+Num); // How can I count the setting variable? "var leaf+Num = ... " doesn't work I guess.. [code]....