Jump to content

List of classes


Recommended Posts

Try this

Save the file with the Classes in it

Turn all Classes to Invisible

Export the file to dwg

When exporting to dwg make sure you have ticked Invisible Classes are Exported as Invisible DXF Layers

Close your file

Open New file

Import the dwg back into VW

Should have all of the Classes - worked for me

Now the exported to Dwg file - open it in AutoCAD

I tried and it worked

Edited by Ozzie
Link to comment

Vincent - still works for me

Try this again

Save the file with the Classes in it

Turn all Classes to Invisible THIS IS NOT NECESSARY

Export the file to dwg

When exporting to dwg make sure you have ticked Invisible Classes are Exported as Invisible DXF Layers - DO NOT KNOW IF THIS IS NECESSARY EITHER

Close your file

Open New file

Import the dwg back into VW

Should have all of the Classes - worked for me

Now the exported to Dwg file - open it in AutoCAD

I have done this several times and it seems even the Class Attributes come over also and I have done it on two different computers

Laptop is

Asus PRO77S

Both running Vista Business

Desktop specs in Signature below

Edited by Ozzie
Link to comment
Yes? I can imagine??This took a minute? But then again, I'm not an engineer!

PROCEDURE DummyClasses; { ? Petri Sakkinen 2009 } 
VAR
i : INTEGER; 

BEGIN
FOR i := 3 TO CLASSNUM DO BEGIN 
	LOCUS(0, 0);
	SETCLASS(LNEWOBJ, CLASSLIST(i));  
END; 
END;

RUN(DummyClasses); 

We're not all geniususes Petri :) and we haven't all entered the realm of Script (yet). please bare with me and explain how to use it.....

Link to comment

Ahh, few of us are geniuses, but some of us are seriously lazy?

If you can get Ozzie's trick to work, that is a much better solution. If not,

- copy the code

- paste it to eg. TextEdit

- make it plain text

- save to a convenient location

- when needed, issue Run VectorScript command (Tools/Scripts) and point the Open file dialog to the said convenient location

What we're doing is very simple. We get the number of classes (NumClasses) and process the list of them (ClassList), ignoring None and Dimension (nos 1 & 2), and create a locus in each class.

Link to comment
  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...