Author Topic: 3DFace DXF code (60 . 1) ...  (Read 6278 times)

0 Members and 1 Guest are viewing this topic.

Lee Mac

  • Seagull
  • Posts: 12913
  • London, England
Re: 3DFace DXF code (60 . 1) ...
« Reply #15 on: May 05, 2010, 11:30:21 AM »
LEE, ...  I just want to say Thank you again for posting that code.  You've posted pieces of this before and I've looked them over plenty of times, but I never made any connection to what was happening until you posted this set here.  I have finally comprehended them.  I'm still puzzled as to the ( (lambda ( ... , but I basically understand it's purpose.  I've read a post by ... either CAB or MP regarding an excellent explanation into the use of Lambda without 'mapcar, but I have not been able to wrap my brain around either of them yet.  If I remember, you asked the question as to how and why he was not using 'mapcar.
Anyway, I ran it on a whim and it errored on me, so I figured I needed to put some other code into it, but from the looks of what you posted, it should work as is.
Code: [Select]
Command: allvis
; error: bad argument type: lentityp nil
There is a variable coming up empty somewhere, so I need to play with it more

Thanks Hangman - I tried to post the code in a more general sense - providing sub functions that you could use for other DXF values/situations, not just in this instance.

But that said, they should work straight off - I cannot seem to get them to error anyway.  :|

Hangman

  • Swamp Rat
  • Posts: 566
Re: 3DFace DXF code (60 . 1) ...
« Reply #16 on: May 05, 2010, 11:54:10 AM »
Well MP, I appreciate the help.  And I appreciate those who have helped here, and those who are helping me to fish rather than just be fed, I am really learning a lot.  I was starting to panic a bit, I didn't want to delete the invisible items, but I didn't know another way either and I didn't have the time to learn it properly.  Now that its over, I can take the time to learn it properly, there's a lot there to be learned.  One of my biggest hurdles is time.  I don't get much to learn this coding, perhaps a half hour during lunch, an hour or so after work, in between the family and other responsibilities.  So when I get to read-up on some subject - but don't get the chance to implement it - I have to wait for the next opportunity.  Some times it's days before I can get to implement something I've learned, but by then I have forgotten my thoughts and have to go back and re-read the subject.  It's very frustrating to me.  That's one of the main reasons I prefer the example code you guys post, I can get key words from those examples and study one element at a time and work toward an end.
Anyway, I was talking with one of the old-time drafters who used Microstation and he informed me that if something was set on Level 0, it would be invisible.  I still have to go verify this and make my conversion code applicable to this situation, but I'm a step further along now.

Tim, can you post for me the URL to the help file you found the DXF 70 code in ??  I have been trying to understand and work with Autodesks site:
http://autodesk.com/techpubs/autocad/acad2000/dxf/
And I keep coming up short.
Quote
70-78
 Integer values, such as repeat counts, flag bits, or modes
 

Using the help file on the PC, I come across everything but what I need.  Another frustrating moment.
I have found the 70 code for Attribute flags, MText flags, 'IsReallyLocked' flag, secondary attributes, etc, etc.
When I search for invisible edges, ...


Anyway, I'm still learning and slowing getting more proficient at working with the code.  But now you know why I sometimes sound so desperate and frustratingly annoying when you guys have to answer my questions and help me out.
Hangman  8)

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

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: 3DFace DXF code (60 . 1) ...
« Reply #17 on: May 05, 2010, 11:56:41 AM »
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

Hangman

  • Swamp Rat
  • Posts: 566
Re: 3DFace DXF code (60 . 1) ...
« Reply #18 on: May 05, 2010, 12:04:30 PM »
DXF help for 3D faces.

DXF help, Common DXF values for entities. i.e. "Where's the info on the 60 group?"

Well, ... there you have it.  I feel like an idiot. :wink:   I just don't know how to get around in there well enough yet.  I'll get there, bear with me.

Thank you all for everything.
Hangman  8)

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

T.Willey

  • Needs a day job
  • Posts: 5251
Re: 3DFace DXF code (60 . 1) ...
« Reply #19 on: May 05, 2010, 12:06:58 PM »
If you can see the object in the drawing spaces, then most likely it will be in the ' entity ' section of the dxf codes.
/FYI.
Tim

I don't want to ' end-up ', I want to ' become '. - Me

Please think about donating if this post helped you.

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: 3DFace DXF code (60 . 1) ...
« Reply #20 on: May 05, 2010, 12:09:40 PM »
All of us got where we are today by many "leg ups" from others, be it from discussion forums, one on one help, books yada. Just be patient with yourself Hangman, the rest of us will be fine, and can hopefully pitch in when called upon. :)
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

Lee Mac

  • Seagull
  • Posts: 12913
  • London, England
Re: 3DFace DXF code (60 . 1) ...
« Reply #21 on: May 05, 2010, 12:24:24 PM »
All of us got where we are today by many "leg ups" from others, be it from discussion forums, one on one help, books yada. Just be patient with yourself Hangman, the rest of us will be fine, and can hopefully pitch in when called upon. :)

x2 Well said.  :-)

Hangman

  • Swamp Rat
  • Posts: 566
Re: 3DFace DXF code (60 . 1) ...
« Reply #22 on: May 05, 2010, 04:17:43 PM »
All of us got where we are today by many "leg ups" from others, be it from discussion forums, one on one help, books yada. Just be patient with yourself Hangman, the rest of us will be fine, and can hopefully pitch in when called upon. :)

I appreciate the encouragement Michael.  I do tend to worry more about offending the guru's here with my requests though, I don't like bugging others for what I'm sure some would consider trivial.  But the help is very much appreciated.
Hangman  8)

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

Lee Mac

  • Seagull
  • Posts: 12913
  • London, England
Re: 3DFace DXF code (60 . 1) ...
« Reply #23 on: May 05, 2010, 04:23:34 PM »
Don't worry, you are in no way bugging us - we're here out of choice - and, what's more, its refreshing to encounter someone who genuinely wants to learn.  :-)

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: 3DFace DXF code (60 . 1) ...
« Reply #24 on: May 05, 2010, 05:53:16 PM »
I appreciate the encouragement Michael.  I do tend to worry more about offending the guru's here with my requests though, I don't like bugging others for what I'm sure some would consider trivial.  But the help is very much appreciated.

You're welcome hangman, but I have to tell ya -- you misunderstand basic nerd-dom. The CADD nerds here thrive on challenges and enjoy helping out, the more unique / obscure the challenge the better.

Part of the equation is that "the teacher frequently learns the most", i.e. it's a win-win, so you're helping out by providing the challenges / opportunities to teach / share expertise yada. Subtitle: the worst mistake you could make is to withhold your questions because you think you're imposing. Just bring it.
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst