Jump to content
Developer Wiki and Function Reference Links ×

Really confused about walls


Recommended Posts

What I need to do is delete all symbols in a wall.

All I got is the handle to the wall.

I was searching through the function reference and got all confused. Can someone help me to understand the following?

AddSymToWall -> adds a symbol to a wall (that's clear)

AddSymToWallEdge -> the same but you can choose the edge it must be on.

DeleteWallSym -> this deletes the symbol in a wall. You'll need the symbol handle, not that of the wall. So does this delete the symbol from the drawing or does this remove the symbol out of the wall and place it above?

GetNumOfWallBreaks -> what's a wall break? I know it's not a peak, so is a break the hole that VW makes when you place a symbol in it?

GetObjExtentsInWall -> This gives you the place the symbol is in the wall. (pretty clear)

GetWallHalfBreakInfo -> what's a wall half break? So if a break is the hole for a symbol, this means that you get the info of the place of the symbol in the wall like GetObjExtensInWall?

InsertSymbol -> Also clear. Just putting a symbol in a wall.

So we can get how many breaks (symbols) are in a wall and get their position, but we can't delete them?

For deleting a symbol in a wall, we need to make them loose and then delete them AND we must know it's handle?

I think we are missing some commands here.

Shouldn't be here a DeleteWallBreak command? and a DeleteAllSym command?

All suggestions are welcome for solving this problem.

Edited by DWorks
Link to comment

It's all in the documentation of VectorScript. Anyone who has done programming in many languages should be able to figure it out.

No? Dear me... Your advice has not been good, then.

Just get a handle to the components of the wall with FIN3D(theWall), then traverse the wall and when you find a symbol instance, zap it. (With the usual precautions, of course. Surely you know how to handle handles - just put your lips together and blow.)

Link to comment

Set up a library of subroutines and $INCLUDE that. Then you can say DeleteAllSym.

Since there are things that just cannot be done with VS, I'd rather see those aspects fixed & added, instead of adding an esoteric one-liner which performs an easily programmable, but (in my guess) very seldom needed task.

Link to comment

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...