Author Topic: CHPROP problem ...  (Read 6947 times)

0 Members and 1 Guest are viewing this topic.

Hangman

  • Swamp Rat
  • Posts: 566
Re: CHPROP problem ...
« Reply #15 on: February 23, 2007, 08:15:31 PM »
That's a very good example.  I appreciate you showing me how to check my code so I don't have to be asking you all these stupid questions.  I feel quite stupid asking some of these questions 'cause I know the solution is quite simple, but I don't know how they are done.
It's frustrating for you guys I know, and there are area's that I just have no idea of what is going on to base an intelligent question to you.  So again, I say Thank you for your patience and help in working with me with these questions.

For now, I must go do homework.  I'll stop back in Monday, have a good weekend.
Hangman  8)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Drafting Board, Mechanical Arm, KOH-I-NOOR 0.7mm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

efernal

  • Bull Frog
  • Posts: 206
Re: CHPROP problem ...
« Reply #16 on: February 23, 2007, 08:25:51 PM »
Code: [Select]
The following group codes apply to LAYER symbol table entries. In addition to the group codes described here, see "Common Group Codes for Symbol Table Entries." For information about abbreviations and formatting used in this table, see "Formatting Conventions in This Reference."

LAYER group codes

Group code Description
100 Subclass marker (AcDbLayerTableRecord)
2 Layer name
70 Standard flags (bit-coded values):
1 = Layer is frozen; otherwise layer is thawed.
2 = Layer is frozen by default in new viewports.
4 = Layer is locked.
16 = If set, table entry is externally dependent on an xref.
32 = If this bit and bit 16 are both set, the externally dependent xref has been successfully resolved.
64 = If set, the table entry was referenced by at least one entity in the drawing the last time the drawing was edited. (This flag is for the benefit of AutoCAD commands. It can be ignored by most programs that read DXF files and need not be set by programs that write DXF files.)
62 Color number (if negative, layer is off)
6 Linetype name
290 Plotting flag. If set to 0, do not plot this layer
370 Lineweight enum value
390 Hard pointer ID/handle of PlotStyleName object
 

Xref-dependent layers are output during SAVEAS. For these layers, the associated linetype name in the DXF file is always CONTINUOUS.
e.fernal

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: CHPROP problem ...
« Reply #17 on: February 23, 2007, 08:29:20 PM »
You and others may find this helpfull too ...
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

Jeff_M

  • King Gator
  • Posts: 4096
  • C3D user & customizer
Re: CHPROP problem ...
« Reply #18 on: February 23, 2007, 08:47:16 PM »
To answer the other question:
Quote
I'm still curious though, is there another way to take the stuff selected on both the pspace AND mspace and change it over to the new layer all at once ??
Yes. Replace the entire "chprop" line with this:
Code: [Select]
         ;(COMMAND ".CHPROP" ss "" "LAyer" "S-Title" "")  ;;no longer needed
    (while (setq ent (ssname ss 0));Change properties of selection to layer "S-Title"
      (setq elist (entget ent))
      (setq elist (subst '(8 . "S-Title") (assoc 8 elist) elist))
      (entmod elist)
      (ssdel ent ss)
      )     
This will work for most entities. PS viewports will not be changed since you cannot (entmod) a VP.

Jeff_M

  • King Gator
  • Posts: 4096
  • C3D user & customizer
Re: CHPROP problem ...
« Reply #19 on: February 23, 2007, 08:49:19 PM »
Kerry,
What's the program you use to capture the screen? I know it's been posted before, but I'm a moron and don't write this stuff down where I can find it.

Thanks

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: CHPROP problem ...
« Reply #20 on: February 23, 2007, 09:26:29 PM »
Hi Jeff


for the still Piccys :
SnagIt Screen Capture and Sharing $39.95 per copy

for the Video :
Camtasia Studio Screen Recording and Presentation $299.00 per copy

SnagIt and Camtasia Studio Bundle $319.00 per copy


http://www.techsmith.com/default.asp?


These are saved as GIF files. The preferred for presentation is an AVI Video < which is a little big for posting> or Flash (SWF/FLV) or WMV
« Last Edit: February 23, 2007, 09:32:30 PM by Kerry Brown »
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

Jeff_M

  • King Gator
  • Posts: 4096
  • C3D user & customizer
Re: CHPROP problem ...
« Reply #21 on: February 23, 2007, 10:19:26 PM »
Thank you sir. I've now bookmarked that page.