navigate  
  Home
Contact Us
Store
Library
Forums
 
     

  Forums

Dennis Nenadov - all messages by user

16.11.2004 11:18:29
Problem getting to library files Hello, I love the website! but I am having problems getting to the library files. Can you help me? Thanks
16.11.2004 13:28:22
cadl for sorting geometry to different levels by color

Hello,


I had a macro (back in CK19) that took all of the geometry on my screen and sorted it to different levels by color. Is there a way to write a KXL/ Cadl file for Keycreator that will do the same thing? If someone would start me off with a little example, I probably will be able to finish it.


Thanks


Dennis

25.11.2004 07:50:55
Level list

KeyCreator 4.0 allows you to import and export level lists.


View > Level > Load Structure


View > Level > Save Structure

30.11.2004 07:24:35
cadl for sorting geometry to different levels by color  // Set the mask for the desired color
MASKCLEAR
MASKCOLOR 1

// Get all entities in the viewport that match the mask
CLEAR nSel
INT nSel
GETALL nSel

// If no entities were selected, exit
if (0 == nSel)
    exit

// Get a handle to the desired level, creating it if necessary
CLEAR hDestLevel
HLEVEL hDestLevel
LEVELBYSTRING "10", 1, hDestLevel, 1

// Move all entities in the selection list to this level.
DEFATTR LEVEL
SETATTR , hDestLevel

// Note a state and clear the mask
NoteState
MASKCLEAR
30.11.2004 07:30:01
HTML code

When I tried to add a reply at the following link, it automatically added some HTML code to the message which shows up when the message is displayed.


http://forums.ckdexpert.com/toast.asp?sub=show&action=posts&fid=3&tid=52


Dennis

30.11.2004 09:07:00
cadl for sorting geometry to different levels by color

The code above moves all entites on the screen that are color # 1 to level number 10.


 


Dennis

16.12.2004 09:01:30
KXL file for turning off levels

The following kxl file prompts you to select an entity. It then makes the entities' level and color the default, turns off other levels, and finally turns on the default.


What I would like to do is replace all the lines with "LEVELMOD NDISP..." with a command that undisplays all the levels. I'm having troubles figuring that out, can you help me? Thanks in advance for any reply.


------------------------


:start
CLEAR hEnt, hLev
HENTITY hEnt
HLEVEL hLev
$number=" "


GETENT "Select an Entity on the Level you want to display.[Esc or Backup to finish]", hEnt
IF(0 != @key)
    GOTO end


CLEAR levnum
STRING $levnum
ENTLEVEL hEnt, hLev
GETLEVELNUMBER hLev,$number
C = @entatt[0]


SET LEVEL, hLev
SET COLOR, C


LEVELMOD NDISP, "1"
LEVELMOD NDISP, "2.1"
LEVELMOD NDISP, "2.2"
LEVELMOD NDISP, "3"
LEVELMOD NDISP, "4"
LEVELMOD NDISP, "5"
LEVELMOD NDISP, "6.1"
LEVELMOD NDISP, "6.2"
LEVELMOD NDISP, "7"
LEVELMOD NDISP, "8"
LEVELMOD NDISP, "9"
LEVELMOD NDISP, "10"
LEVELMOD NDISP, "11"
LEVELMOD NDISP, "12"
LEVELMOD NDISP, "13"
LEVELMOD NDISP, "14"
LEVELMOD NDISP, "15"
LEVELMOD NDISP, "16"
LEVELMOD NDISP, "20"


LEVELMOD DISP, $number


notestate



:end
exit

16.12.2004 14:16:46
KXL file for turning off levels

Thanks! that's great.


One thing I noticed is that the file doesn't work with child levels (eg. 2.1, 2.2, etc.)


 


Dennis

17.01.2005 15:35:13
What do the users want to see?

I would like to see tutorials on surfacing and solids modeling. I've been both a Cadkey and Mastercam user for some time, but I've mainly used Mastercam for surfacing. I would like to become more familiar with surfaces in KeyCreator.


Also, I'd like to see tutorials on using assemblies in solids modeling.


Dennis N


 


p.s. Are you working on making this website compatible with Netscape (Mozilla, FireFox)? I try to use Internet Explorer as little as possible

17.01.2005 16:20:46
What do the users want to see?

Ken,


I am using Firefox (Netscape and Mozilla are basically the same thing) right now, and when I try to add a reply, I am unable to change the font color or background color. So when the preview comes up, I cannot see the text of my post.


Dennis

18.01.2005 05:18:47
What do the users want to see?

Ken,


Yes, the only problem I am having is on the Forum.


Dennis

19.01.2005 20:22:29
What do the users want to see?

I'd also like to see tutorials on sheetmetal unfolding.


Dennis

09.09.2005 13:21:28
vrthzt.kxl I originally wrote that kxl file. I've been using it for some time and I haven't had the problem you describe. What version of Keycreator are you using?

Dennis
09.09.2005 15:22:41
vrthzt.kxl

Ok, I get it now. The kxl file was originally written for 2d work all done in top view.


It will need some re-work in order to work properly in different views.


I am too busy right now to spend time on it, but perhaps there are others on this forum who can.


Dennis

pages: 1