ParallelGraphics
Home  »  Developer Zone  »  Products  »  VrmlPad  »  References  »  Route
Up to References

Document 

Documents 

Entity 

Field 

Fields 

MFValue 

Node 

Nodes 

Proto 

Protos 

Range 

Route 

Routes 

SFColor 

SFRotation 

SFVec2f 

SFVec3f 

VrmlMatrix 

Window 


Subscribe to Newsletter
 


Google Searchsite search:

 

%(domain)s %(domain)s
Install Cortona VRML Client!

Outline 3D

Try RobinZone!


Route

Route Object

 
Context
 
EntityType
 
Owner
 
ToNode
 
Delete
 
FromField
 
Range
 
Document
 
FromNode
 
ToField

See also: Entity object.
 
Context property, read-only, Object.

Returns a Proto object that represents the PROTO context (namespace) for the specified route. Returns Nothing, if the route is in the global context (isn't part of a PROTO declaration).

See also: Context property of the Entity object.




 
Delete method.

Deletes the specified route.

See also: Delete method of the Entity object.




 
Document property, read-only, Object.

Returns a Document object that represents the VRML file contains the specified route.




 
EntityType property, read-only, VpEntityType.

Returns vpRoute = 8, or vpExpired = 0 if the route has been removed.

See also: EntityType property of the Entity object.




 
FromField property, read-only, Object.

Returns a Field object that represents the eventOut or exposedField, generating events through the specified route.

The following example enumerates all incoming routes to a field.

Private Sub IncomingRoutes(f As Field)
  Dim n As Node
  Set n = f.Owner
  Dim r As Route
  For Each r In n.InRoutes
    If r.ToField Is f Then
      Debug.Print "Routed from " & r.FromField.Name
    End If
  Next
End Sub




 
FromNode property, read-only, Object.

Returns a Node object that represents the Owner node of a field, returning by the FromField property.




 
Owner property, read-only, Object.

Returns an Entity object that represents the immediate owner of the specified route.

It's a Node object for the route inside a node, or a Proto object for the route in a prototype definition or Nothing for the toplevel routes.

See also: Owner property of the Entity object.




 
Range property, read-only, ( [Flags] ) As Object.

Returns a Range object that represents the portion of a document that's contained in the specified route.

Flags (Optional)
Specifies the part of the route text to include. Can be a combination of the following values from the enum of type VpEntityRange:

ValuePart of the route
vprnAll = 0 (default)All route text with some whitespace padding
vprnId = 1Source routed field name
vprnName = 2Source routed node name
vprnKeyword = 16ROUTE keyword
vprnId2 = 32Target routed field name
vprnName2 = 64Target routed node name

For information about Range objects, see Using the Range Object.




 
ToField property, read-only, Object.

Returns a Field object that represents the eventIn or exposedField, receiving events through the specified route.




 
ToNode property, read-only, Object.

Returns a Node object that represents the Owner node of a field, returning by the ToField property.





Last updated: Wed, 27 Aug 2008
© 2000-2008 ParallelGraphics. All rights reserved. Terms of use.